bintoc: Use ZLIB_INLCUDE_DIR

This commit is contained in:
Luke Street 2020-03-04 02:41:03 -05:00
parent e4a775f18e
commit 7b63b8e197
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
if(NOT CMAKE_CROSSCOMPILING) if(NOT CMAKE_CROSSCOMPILING)
add_executable(bintoc bintoc.c) add_executable(bintoc bintoc.c)
target_include_directories(bintoc PRIVATE ${ZLIB_INCLUDE_DIR})
target_link_libraries(bintoc ${ZLIB_LIBRARIES}) target_link_libraries(bintoc ${ZLIB_LIBRARIES})
function(bintoc out in sym) function(bintoc out in sym)
if(IS_ABSOLUTE ${out}) if(IS_ABSOLUTE ${out})