mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Update zlib
This commit is contained in:
2
deps/zlib
vendored
2
deps/zlib
vendored
Submodule deps/zlib updated: ef24c4c750...ed1610791c
8
deps/zlib.cmake
vendored
8
deps/zlib.cmake
vendored
@@ -1,7 +1,11 @@
|
||||
set(ZLIB_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
|
||||
set(ZLIB_BUILD_TESTING OFF CACHE BOOL "" FORCE)
|
||||
set(ZLIB_BUILD_SHARED OFF CACHE BOOL "" FORCE)
|
||||
set(ZLIB_BUILD_MINIZIP OFF CACHE BOOL "" FORCE)
|
||||
set(ZLIB_INSTALL OFF CACHE BOOL "" FORCE)
|
||||
|
||||
add_subdirectory(zlib)
|
||||
target_compile_definitions(zlibstatic PUBLIC ZLIB_CONST=1)
|
||||
target_include_directories(zlibstatic PUBLIC ${zlib_SOURCE_DIR} ${zlib_BINARY_DIR})
|
||||
#target_include_directories(zlibstatic PUBLIC ${zlib_SOURCE_DIR} ${zlib_BINARY_DIR})
|
||||
|
||||
if (TARGET zlib)
|
||||
set_target_properties(zlib PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||
|
||||
Reference in New Issue
Block a user