aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index efa0ef4..3b24374 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,7 +96,8 @@ if(ZLIB_BUILD_SHARED)
96 $<$<OR:$<BOOL:${WIN32}>,$<BOOL:${CYGWIN}>>:win32/zlib1.rc>) 96 $<$<OR:$<BOOL:${WIN32}>,$<BOOL:${CYGWIN}>>:win32/zlib1.rc>)
97 target_include_directories(zlib PUBLIC 97 target_include_directories(zlib PUBLIC
98 $<BUILD_INTERFACE:${zlib_BINARY_DIR}> 98 $<BUILD_INTERFACE:${zlib_BINARY_DIR}>
99 $<BUILD_INTERFACE:${zlib_SOURCE_DIR}>) 99 $<BUILD_INTERFACE:${zlib_SOURCE_DIR}>
100 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
100 target_compile_definitions(zlib 101 target_compile_definitions(zlib
101 PRIVATE 102 PRIVATE
102 $<$<BOOL:${HAVE_OFF64_T}>:_LARGEFILE64_SOURCE=1> 103 $<$<BOOL:${HAVE_OFF64_T}>:_LARGEFILE64_SOURCE=1>
@@ -129,7 +130,8 @@ if(ZLIB_BUILD_STATIC)
129 ${ZLIB_PRIVATE_HDRS}) 130 ${ZLIB_PRIVATE_HDRS})
130 target_include_directories(zlibstatic PUBLIC 131 target_include_directories(zlibstatic PUBLIC
131 $<BUILD_INTERFACE:${zlib_BINARY_DIR}> 132 $<BUILD_INTERFACE:${zlib_BINARY_DIR}>
132 $<BUILD_INTERFACE:${zlib_SOURCE_DIR}>) 133 $<BUILD_INTERFACE:${zlib_SOURCE_DIR}>
134 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
133 target_compile_definitions(zlibstatic 135 target_compile_definitions(zlibstatic
134 PRIVATE 136 PRIVATE
135 $<$<BOOL:NOT:${HAVE_FSEEKO}>:NO_FSEEKO> 137 $<$<BOOL:NOT:${HAVE_FSEEKO}>:NO_FSEEKO>