minecraft-pi-reborn/dependencies/libpng/zlib/CMakeLists.txt
2022-07-02 18:14:23 -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)