minecraft-pi-reborn/dependencies/zenity/CMakeLists.txt

19 lines
331 B
CMake
Raw Normal View History

2022-03-11 05:00:13 +00:00
project(zenity)
# Silence Warnings
add_compile_options(-w)
## Zenity
# Download
add_subdirectory(src EXCLUDE_FROM_ALL)
# Ensure Build
add_custom_target(zenity-build ALL DEPENDS zenity)
# Install
2022-03-12 01:02:38 +00:00
install(TARGETS zenity DESTINATION "${MCPI_BIN_DIR}")
2022-07-13 20:46:33 +00:00
# License
install(FILES src/COPYING DESTINATION "${MCPI_LEGAL_DIR}/zenity")