minecraft-pi-docker/dependencies/libpng/zlib/CMakeLists.txt

14 lines
237 B
CMake
Raw Normal View History

2021-06-17 21:32:24 +00:00
project(zlib)
# Silence Warnings
add_compile_options(-w)
## zlib
# Download
2022-06-26 03:03:46 +00:00
set(CMAKE_POLICY_DEFAULT_CMP0022 NEW) # Fix Error
2021-11-12 01:12:16 +00:00
add_subdirectory(src EXCLUDE_FROM_ALL)
2021-06-17 21:32:24 +00:00
2021-10-22 21:28:26 +00:00
# Ensure Build
2021-11-12 01:12:16 +00:00
add_custom_target(zlib-build ALL DEPENDS zlibstatic)