slackbuilds_ponce/development/srcML/srcML-0.9.5-lib-install-dir.patch
Marcel Steinbeck 89f6ac9939 development/srcML: Added (XML representation of source code).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-04-13 07:27:46 +07:00

11 lines
823 B
Diff

--- 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()