mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-14 03:25:52 +00:00
12 lines
337 B
CMake
12 lines
337 B
CMake
cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
|
|
cmake_policy(VERSION 3.15...3.20)
|
|
project(bintoc LANGUAGES C)
|
|
|
|
add_executable(bintoc bintoc.c)
|
|
|
|
find_package(ZLIB REQUIRED)
|
|
set(ZLIB_LIBRARIES ZLIB::ZLIB CACHE STRING "zlib libraries" FORCE)
|
|
target_link_libraries(bintoc PRIVATE ${ZLIB_LIBRARIES})
|
|
|
|
install(TARGETS bintoc DESTINATION bin)
|