minecraft-pi-reborn/dependencies/zlib/CMakeLists.txt
2022-06-25 23:03:46 -04:00

14 lines
237 B
CMake

project(zlib)
# Silence Warnings
add_compile_options(-w)
## zlib
# Download
set(CMAKE_POLICY_DEFAULT_CMP0022 NEW) # Fix Error
add_subdirectory(src EXCLUDE_FROM_ALL)
# Ensure Build
add_custom_target(zlib-build ALL DEPENDS zlibstatic)