diff options
| author | Evgeni Golov <sargentd@die-welt.net> | 2009-04-14 10:02:42 +0200 |
|---|---|---|
| committer | Evgeni Golov <sargentd@die-welt.net> | 2009-04-14 10:02:42 +0200 |
| commit | baeb3552f84ba0a930289ce2a6446fa70f2ef70c (patch) | |
| tree | bc0d7229ff6ecc1d9e12afe50ceea1ae706b1d19 | |
| parent | 135d593deef607dcf5c8f5dabcd579ea1719fe01 (diff) | |
make CMAKE_INSTALL_BINDIR overrideable
we (Debian) want games in /usr/games, so we do
-DCMAKE_INSTALL_BINDIR=/usr/games
which didnt work until now :)
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b02972b..754d5af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ SET ( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ) #various variables SET ( CMAKE_INSTALL_ETCDIR ${CMAKE_CONF_PATH} ) SET ( CMAKE_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/${APPNAME}" CACHE PATH "Doc path prefix" ) -SET ( CMAKE_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin" ) +SET ( CMAKE_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Binary path prefix" ) SET ( CMAKE_INSTALL_ICONDIR "${CMAKE_INSTALL_PREFIX}/pixmaps" CACHE PATH "Icon path prefix" ) SET ( CMAKE_INSTALL_DESKTOPDIR "${CMAKE_INSTALL_PREFIX}/applications" CACHE PATH "Desktop file path prefix") SET ( CMAKE_INSTALL_LOCALEDIR ${CMAKE_LOCALE_PATH} ) |