17 lines
311 B
CMake
Raw Normal View History

2021-06-17 17:32:24 -04:00
project(zlib)
# Silence Warnings
add_compile_options(-w)
## zlib
# Download
2022-06-25 23:03:46 -04:00
set(CMAKE_POLICY_DEFAULT_CMP0022 NEW) # Fix Error
2021-11-11 20:12:16 -05:00
add_subdirectory(src EXCLUDE_FROM_ALL)
2021-06-17 17:32:24 -04:00
2021-10-22 17:28:26 -04:00
# Ensure Build
2021-11-11 20:12:16 -05:00
add_custom_target(zlib-build ALL DEPENDS zlibstatic)
2022-07-13 16:46:33 -04:00
# License
install(FILES src/README DESTINATION "${MCPI_LEGAL_DIR}/zlib")