diff options
Diffstat (limited to 'games-arcade/clonekeenplus/files/cmake.patch')
-rw-r--r-- | games-arcade/clonekeenplus/files/cmake.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-arcade/clonekeenplus/files/cmake.patch b/games-arcade/clonekeenplus/files/cmake.patch new file mode 100644 index 000000000..9a0f31766 --- /dev/null +++ b/games-arcade/clonekeenplus/files/cmake.patch @@ -0,0 +1,33 @@ +--- install.cmake ++++ install.cmake +@@ -2,11 +2,12 @@ + ############### Prepare the installation of the compiled stuff here! + + IF(BUILD_TYPE STREQUAL WIN32) +-SET(SHAREDIR CGenius) +-SET(APPDIR CGenius) ++SET(SHAREDIR CGenius CACHE PATH "") ++SET(APPDIR CGenius CACHE PATH "") + ELSE(BUILD_TYPE STREQUAL WIN32) +-SET(SHAREDIR share/CommanderGenius) +-SET(APPDIR games) ++SET(SHAREDIR share/CommanderGenius CACHE PATH "") ++SET(APPDIR games CACHE PATH "") ++SET(DOCDIR ${SHAREDIR} CACHE PATH "") + ENDIF(BUILD_TYPE STREQUAL WIN32) + + # This will install the application itself +@@ -19,11 +20,11 @@ + + # This will copy the readme file. + INSTALL(FILES readme.txt +- DESTINATION ${SHAREDIR}) ++ DESTINATION ${DOCDIR}) + + # This will copy the readme file. + INSTALL(FILES changelog.txt +- DESTINATION ${SHAREDIR}) ++ DESTINATION ${DOCDIR}) + + # Windows might not have those dlls so we ship them with the packages + IF(BUILD_TYPE STREQUAL WIN32) |