aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-04-10 20:24:11 +0200
committerRobert Tari <robert@tari.in>2024-04-10 20:24:11 +0200
commita463efd3de1eee4357af591f25dfe31a37c3bec7 (patch)
treec27e4e5c6913f51c73f74dff8d5660adecaf2172
parent1946a976b6bf2c5776dc8609156e4ddf860a7899 (diff)
downloadayatana-indicator-notifications-a463efd3de1eee4357af591f25dfe31a37c3bec7.tar.gz
ayatana-indicator-notifications-a463efd3de1eee4357af591f25dfe31a37c3bec7.tar.bz2
ayatana-indicator-notifications-a463efd3de1eee4357af591f25dfe31a37c3bec7.zip
CMakeLists.txt: Add default install prefix
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96b3d61..f353831 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,10 @@
cmake_minimum_required (VERSION 3.13)
project (ayatana-indicator-notifications VERSION 23.10.0 LANGUAGES C CXX)
+if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+ SET (CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
+endif (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+
# Options
option(ENABLE_WERROR "Treat all build warnings as errors" OFF)