blob: 1f597966a986b8755eeab41de612d0a2ea4fb3b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
diff -ura a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2018-02-04 16:39:08.000000000 +0100
+++ b/CMakeLists.txt 2018-02-05 00:38:51.365223943 +0100
@@ -167,7 +167,7 @@
endif()
if(UNIX)
- add_definitions("-DOC_SYSTEM_DATA_DIR=\"${CMAKE_INSTALL_PREFIX}/share/games/openclonk\"")
+ add_definitions("-DOC_SYSTEM_DATA_DIR=\"${CMAKE_INSTALL_PREFIX}/share/openclonk\"")
endif()
if(APPLE)
@@ -1517,13 +1517,13 @@
DEPENDS "${native_c4group}"
VERBATIM
)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${group} DESTINATION share/games/openclonk)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${group} DESTINATION share/openclonk)
endif()
endforeach()
if(NOT APPLE)
if(NOT HEADLESS_ONLY)
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/planet/Music.ocg DESTINATION share/games/openclonk)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/planet/Music.ocg DESTINATION share/openclonk)
endif()
# group files (game data)
add_custom_target(groups DEPENDS ${OC_C4GROUPS})
@@ -1543,7 +1543,7 @@
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/openclonk.appdata.xml DESTINATION share/appdata)
# Install binaries
- install(TARGETS openclonk DESTINATION games)
+ install(TARGETS openclonk DESTINATION bin)
else()
install(TARGETS openclonk
BUNDLE DESTINATION .
|