metaforce/hecl/bintoc/CMakeLists.txt

11 lines
376 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
cmake_policy(VERSION 3.15...3.20)
project(bintoc LANGUAGES C)
2017-12-07 04:09:27 +00:00
add_executable(bintoc bintoc.c)
add_subdirectory(../../extern/athena/extern/zlib zlib EXCLUDE_FROM_ALL)
target_link_libraries(bintoc PRIVATE ${ZLIB_LIBRARIES})
2021-06-12 01:55:25 +00:00
target_include_directories(bintoc PRIVATE ${ZLIB_INCLUDE_DIR})
2017-12-07 04:09:27 +00:00
install(TARGETS bintoc DESTINATION bin)