Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -10,10 +10,12 @@ SET(APPDIR CGenius)
 SET(GAMES_SHAREDIR "${APPDIR}" CACHE PATH "Game data root dir")
 SET(DOCDIR ${DATADIR} CACHE PATH "Docs destination")
 ELSE(WIN32)
-SET(SHAREDIR "/usr/share" CACHE PATH "System share dir location")
-SET(GAMES_SHAREDIR "${SHAREDIR}/games/" CACHE PATH "Game data root dir")
+include(GNUInstallDirs)
+
+SET(SHAREDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE PATH "System share dir location")
+SET(GAMES_SHAREDIR "${SHAREDIR}/games" CACHE PATH "Game data root dir")
 SET(DATADIR "${GAMES_SHAREDIR}/commandergenius")
-SET(APPDIR games CACHE PATH "Binary destination")
+SET(APPDIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH "Binary destination")
 SET(DOCDIR ${DATADIR} CACHE PATH "Docs destination")
 SET(ICONDIR "${SHAREDIR}/icons/hicolor" CACHE PATH "Standard icon installation dir")
 SET(DESKTOPFILESDIR "${SHAREDIR}/applications" CACHE PATH "Application installation dir")
@@ -202,13 +204,6 @@ IF (DUMP_MTCS)
     ADD_DEFINITIONS(-DDUMP_MTCS)
 endif(DUMP_MTCS)
 
-find_program(CCACHE_FOUND ccache)
-if(CCACHE_FOUND)
-    set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
-    set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) # Less useful to do it for linking, see edit2
-    message(STATUS "Using ccache for faster builds")
-endif(CCACHE_FOUND)
-
 # Will pass the SHA and branch strings to the executable
 find_program(GIT_FOUND git)
 if(GIT_FOUND)
@@ -230,7 +225,7 @@ endif(GIT_FOUND)
 
 # Pass correct definition for SYSTEM_DATA_DIR so packager or distributors can decide where the app should land in
 if(UNIX AND NOT IOS)
-    if(NOT IS_ABSOLUTE ${GAMES_SHAREDIR})
+    if(NOT IS_ABSOLUTE "${GAMES_SHAREDIR}")
         set(FULL_GAMES_SHAREDIR "${CMAKE_INSTALL_PREFIX}/${GAMES_SHAREDIR}" CACHE PATH "Full where the games will be stored")
     else()
         set(FULL_GAMES_SHAREDIR ${GAMES_SHAREDIR} CACHE PATH "Full where the games will be stored")
