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

21 lines
376 B
CMake
Raw Normal View History

2022-03-11 05:00:13 +00:00
project(zenity)
# Silence Warnings
add_compile_options(-w)
## Zenity
# Download
2024-01-20 07:10:18 +00:00
set(MESSAGE_QUIET TRUE)
2022-03-11 05:00:13 +00:00
add_subdirectory(src EXCLUDE_FROM_ALL)
2024-01-20 07:10:18 +00:00
unset(MESSAGE_QUIET)
2022-03-11 05:00:13 +00:00
# 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")