NOISSUE more cmake tweakery
This commit is contained in:
parent
143e24fa04
commit
260a2cea59
@ -94,9 +94,9 @@ add_subdirectory(depends/xz-embedded) # xz compression
|
||||
add_subdirectory(depends/pack200) # java pack200 compression
|
||||
add_subdirectory(depends/rainbow) # Qt extension for colors
|
||||
|
||||
set(NBT_BUILD_SHARED ON CACHE BOOL "Build NBT shared library")
|
||||
set(NBT_USE_ZLIB OFF CACHE BOOL "Build NBT library with zlib support")
|
||||
set(NBT_BUILD_TESTS OFF CACHE BOOL "Build NBT library tests") #FIXME: fix unit tests.
|
||||
option(NBT_BUILD_SHARED "Build NBT shared library" ON)
|
||||
option(NBT_USE_ZLIB "Build NBT library with zlib support" OFF)
|
||||
option(NBT_BUILD_TESTS "Build NBT library tests" OFF) #FIXME: fix unit tests.
|
||||
add_subdirectory(depends/libnbtplusplus)
|
||||
|
||||
######## MultiMC Libs ########
|
||||
|
@ -335,11 +335,6 @@ qt5_add_resources(MULTIMC_RESOURCES ${MULTIMC_QRCS})
|
||||
add_executable(MultiMC MACOSX_BUNDLE WIN32 ${MULTIMC_SOURCES} ${MULTIMC_UI} ${MULTIMC_RESOURCES} ${MULTIMC_RCS})
|
||||
target_link_libraries(MultiMC MultiMC_logic xz-embedded unpack200 iconfix MultiMC_util ${QUAZIP_LIBRARIES} hoedown rainbow)
|
||||
|
||||
if(WIN32)
|
||||
qt5_use_modules(MultiMC WinMain)
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
################################ INSTALLATION AND PACKAGING ################################
|
||||
|
||||
######## Install ########
|
||||
|
Loading…
Reference in New Issue
Block a user