File generatorrunner-cmake_fix_dirs.patch of Package generatorrunner

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -76,7 +76,7 @@ install(FILES generatorrunnermacros.h DE
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/generatorrunner.pc DESTINATION
         ${LIB_INSTALL_DIR}/pkgconfig)
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FindGeneratorRunner.cmake
-        DESTINATION "share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules")
+        DESTINATION ${CMAKE_ROOT}/Modules)
 
 #FIXME: manpages should be installed only on Linux targets
 file(GLOB manpages ${CMAKE_CURRENT_SOURCE_DIR}/*.1)
openSUSE Build Service is sponsored by