diff options
-rw-r--r-- | zlib/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt index 312f0ee..c68a2bb 100644 --- a/zlib/CMakeLists.txt +++ b/zlib/CMakeLists.txt @@ -187,8 +187,8 @@ add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL) set_target_properties(zlib PROPERTIES SOVERSION 1) -target_include_directories(zlib PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) -target_include_directories(zlibstatic PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) +target_include_directories(zlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) +target_include_directories(zlibstatic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) add_library(Zlib::zlib ALIAS zlib) add_library(Zlib::zlibstatic ALIAS zlibstatic) |