mirror of https://github.com/libAthena/athena.git
Remove ZLIB_INCLUDE_DIR (use target INTERFACE include)
This commit is contained in:
parent
daf8bf0595
commit
b0daee99fc
|
@ -37,6 +37,6 @@ else ()
|
||||||
else ()
|
else ()
|
||||||
target_compile_options(z PRIVATE -Wno-implicit-fallthrough)
|
target_compile_options(z PRIVATE -Wno-implicit-fallthrough)
|
||||||
endif ()
|
endif ()
|
||||||
|
target_include_directories(z INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
set(ZLIB_LIBRARIES z CACHE STRING "zlib libraries" FORCE)
|
set(ZLIB_LIBRARIES z CACHE STRING "zlib libraries" FORCE)
|
||||||
set(ZLIB_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH "zlib include directory" FORCE)
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in New Issue