File antlr4-install-path.patch.in of Package antlr4.28016

diff -uNr antlr4-4.7.2.org/runtime/Cpp/CMakeLists.txt antlr4-4.7.2/runtime/Cpp/CMakeLists.txt
--- antlr4-4.7.2.org/runtime/Cpp/CMakeLists.txt	2018-12-18 20:35:24.000000000 +0200
+++ antlr4-4.7.2/runtime/Cpp/CMakeLists.txt	2019-02-16 12:41:11.057797150 +0200
@@ -187,14 +187,14 @@
 
 if(EXISTS LICENSE.txt)
 install(FILES LICENSE.txt
-        DESTINATION "share/doc/libantlr4")
+        DESTINATION "share/doc/packages/libantlr4-runtime@LIBVER@")
 elseif(EXISTS ../../LICENSE.txt) 
 install(FILES ../../LICENSE.txt
-    DESTINATION "share/doc/libantlr4")
+    DESTINATION "share/doc/packages/libantlr4-runtime@LIBVER@")
 endif()
 
 install(FILES README.md VERSION 
-    DESTINATION "share/doc/libantlr4")
+    DESTINATION "share/doc/packages/libantlr4-runtime@LIBVER@")
 
 set(CPACK_PACKAGE_CONTACT "antlr-discussion@googlegroups.com")
 set(CPACK_PACKAGE_VERSION ${ANTLR_VERSION})
diff -uNr antlr4-4.7.2.org/runtime/Cpp/runtime/CMakeLists.txt antlr4-4.7.2/runtime/Cpp/runtime/CMakeLists.txt
--- antlr4-4.7.2.org/runtime/Cpp/runtime/CMakeLists.txt	2018-12-18 20:35:24.000000000 +0200
+++ antlr4-4.7.2/runtime/Cpp/runtime/CMakeLists.txt	2019-02-16 12:41:56.249460074 +0200
@@ -102,10 +102,10 @@
                                  COMPILE_FLAGS "${disabled_compile_warnings} ${extra_static_compile_flags}")
 
 install(TARGETS antlr4_shared
-        DESTINATION lib
+        DESTINATION ${LIB_INSTALL_DIR}
         EXPORT antlr4-targets)
 install(TARGETS antlr4_static
-        DESTINATION lib
+        DESTINATION ${LIB_INSTALL_DIR}
         EXPORT antlr4-targets)
 
 install(DIRECTORY "${PROJECT_SOURCE_DIR}/runtime/src/"
openSUSE Build Service is sponsored by