aboutsummaryrefslogtreecommitdiff
path: root/development/srcML/srcML-0.9.5-lib-install-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/srcML/srcML-0.9.5-lib-install-dir.patch')
-rw-r--r--development/srcML/srcML-0.9.5-lib-install-dir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/development/srcML/srcML-0.9.5-lib-install-dir.patch b/development/srcML/srcML-0.9.5-lib-install-dir.patch
new file mode 100644
index 0000000000000..d5d15fb60f69b
--- /dev/null
+++ b/development/srcML/srcML-0.9.5-lib-install-dir.patch
@@ -0,0 +1,11 @@
+--- srcML-src.orig/src/CMakeLists.txt 2015-05-20 03:36:48.000000000 +0200
++++ srcML-src/src/CMakeLists.txt 2017-04-08 15:07:12.155298797 +0200
+@@ -67,6 +67,8 @@
+ install(TARGETS srcml_shared srcml_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib64 ARCHIVE DESTINATION lib64)
+ elseif(OS_NAME STREQUAL "openSUSE" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+ install(TARGETS srcml_shared srcml_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib64 ARCHIVE DESTINATION lib64)
++elseif(OS_NAME STREQUAL "Slackware" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
++ install(TARGETS srcml_shared srcml_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib64 ARCHIVE DESTINATION lib64)
+ else()
+ install(TARGETS srcml_shared srcml_static RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ endif()