2021-04-13 14:42:01 +00:00
|
|
|
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
|
|
|
|
2021-04-13 14:42:01 +00:00
|
|
|
add_executable(bintoc bintoc.c)
|
2021-06-12 02:57:38 +00:00
|
|
|
add_subdirectory(../../extern/athena/extern/zlib zlib EXCLUDE_FROM_ALL)
|
2021-06-12 01:50:57 +00:00
|
|
|
target_link_libraries(bintoc PRIVATE ${ZLIB_LIBRARIES})
|
2017-12-07 04:09:27 +00:00
|
|
|
|
2021-06-12 01:50:57 +00:00
|
|
|
install(TARGETS bintoc DESTINATION bin)
|