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

17 lines
312 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)
2022-07-13 20:46:33 +00:00
# License
2022-10-31 23:27:02 +00:00
install(FILES src/LICENSE DESTINATION "${MCPI_LEGAL_DIR}/zlib")