diff options
author | hasufell <julian.ospald@googlemail.com> | 2012-06-26 00:13:01 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-06-26 06:43:39 +0200 |
commit | 02a7b2aa739cd0cf5a855f0a78b91d9fd5ad4385 (patch) | |
tree | 85ffb94f64b1e159e113ca8bd67cd57f734b6d7b /CMakeLists.txt | |
parent | 73988e234568429b053bda79c241496791c8cb45 (diff) | |
download | mana-02a7b2aa739cd0cf5a855f0a78b91d9fd5ad4385.tar.gz mana-02a7b2aa739cd0cf5a855f0a78b91d9fd5ad4385.tar.bz2 mana-02a7b2aa739cd0cf5a855f0a78b91d9fd5ad4385.tar.xz mana-02a7b2aa739cd0cf5a855f0a78b91d9fd5ad4385.zip |
make datadir an bindir paths modifiable
Reviewed-by: Ablu.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 993ce822..2cf65803 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,9 +42,9 @@ ELSE (WIN32) IF (NOT OSX AND NOT BEOS) OPTION(USE_X11 "Use X11 Clipboard functionality" ON) ENDIF () - SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana) + SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/mana CACHE PATH "Mana datadir") SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) - SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin) + SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "Mana bindir") ENDIF (WIN32) ADD_SUBDIRECTORY(data) |