summarylogtreecommitdiffstats
path: root/CMakeLists.patch
diff options
context:
space:
mode:
authorFabian Köhler2016-12-18 02:08:48 +0100
committerFabian Köhler2016-12-18 02:09:49 +0100
commit6d9ae4345469e9d6f56148d177aad55b9a28065c (patch)
treed9d450d978ef8d66e0c04a8ac43a34736ee09172 /CMakeLists.patch
downloadaur-evernus.tar.gz
init package
Diffstat (limited to 'CMakeLists.patch')
-rw-r--r--CMakeLists.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/CMakeLists.patch b/CMakeLists.patch
new file mode 100644
index 00000000000..e594b21b2bd
--- /dev/null
+++ b/CMakeLists.patch
@@ -0,0 +1,32 @@
+--- CMakeLists.txt.old 2016-12-05 17:54:57.000000000 +0100
++++ CMakeLists.txt 2016-12-18 00:13:58.612159067 +0100
+@@ -72,7 +72,8 @@
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+ set(TRANSLATIONS lang/lang_pl_PL.ts lang/lang_de_DE.ts)
+-set_source_files_properties(${TRANSLATIONS} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/trans")
++file(COPY ${TRANSLATIONS} DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/trans/")
++#set_source_files_properties(${TRANSLATIONS} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/trans")
+
+ add_definitions(-DQXT_STATIC)
+
+@@ -849,7 +850,7 @@
+
+ set(RESOURCES
+ "res"
+- "trans"
++ "${CMAKE_CURRENT_BINARY_DIR}/trans"
+ )
+
+ if(APPLE)
+@@ -877,8 +878,8 @@
+ )
+ elseif(UNIX)
+ foreach(RES ${RESOURCES})
+- install(DIRECTORY ${RES} DESTINATION "/usr/share/Evernus")
++ install(DIRECTORY ${RES} DESTINATION "share/Evernus")
+ endforeach()
+
+- install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION "/usr/bin")
++ install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION "bin")
+ endif()