diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-27 22:29:15 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-05 15:47:16 +0200 |
commit | 0562b1c0137cd4c6970fc10197c628d26c065577 (patch) | |
tree | b411351d84b96cbef170b3fec378bfd9b37f491d /CMakeLists.txt | |
parent | 4258f017f0125375b1bacb277e3055f7cdd22c42 (diff) | |
download | ayatana-indicator-datetime-0562b1c0137cd4c6970fc10197c628d26c065577.tar.gz ayatana-indicator-datetime-0562b1c0137cd4c6970fc10197c628d26c065577.tar.bz2 ayatana-indicator-datetime-0562b1c0137cd4c6970fc10197c628d26c065577.zip |
CMakeLists.txt: Drop GNUInstallDirs. Use PREFIX initialization hack.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 811c8fa..8ca7d21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,9 @@ cmake_minimum_required (VERSION 2.8.9) list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) -include (GNUInstallDirs) +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE) +endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set (PROJECT_VERSION "0.8.3") set (PACKAGE ${CMAKE_PROJECT_NAME}) |