git repos / blockattack-game

commit b240dbfa

Michael Straube · 2017-01-09 18:25
b240dbfa914756c5f7d62e8be5dc61feb3848e25 patch · browse files
parent c0444aba1164fc938d07287b4718125f145dfaae

Fix install directories

Changed files

M CMakeLists.txt before
diff --git a/CMakeLists.txt b/CMakeLists.txt index 20f3f3f..f041f4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -14,9 +14,9 @@ INCLUDE(CPack)
# Define install paths
set(INSTALL_BIN_DIR "bin" CACHE STRING "Install executable in this directory")
set(INSTALL_DATA_DIR "share/blockattack" CACHE STRING "Install data to this directory")
-set(INSTALL_MAN_DIR "man/man6" CACHE STRING "Install the man page to this directory")
-set(INSTALL_APPLICATIONS_DIR "applications" CACHE STRING "Install the .desktop file to this directory")
-set(INSTALL_ICONS_DIR "icons/hicolor" CACHE STRING "Install the icon in a subfolder in this directory")
+set(INSTALL_MAN_DIR "share/man/man6" CACHE STRING "Install the man page to this directory")
+set(INSTALL_APPLICATIONS_DIR "share/applications" CACHE STRING "Install the .desktop file to this directory")
+set(INSTALL_ICONS_DIR "share/icons/hicolor" CACHE STRING "Install the icon in a subfolder in this directory")
set(INSTALL_LOCALE_DIR "${INSTALL_DATA_DIR}/locale/" CACHE STRING "Install translation to this dir")
# This sets up the exe icon for windows under mingw.