File cronopete-cmake-libexec.patch of Package cronopete

diff -Nur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2021-12-12 06:22:02.000000000 -0600
+++ b/CMakeLists.txt	2021-12-26 12:07:02.463494545 -0600
@@ -10,6 +10,7 @@
 option(BUILD_VALADOC "Build API documentation if Valadoc is available" OFF)
 option(NO_INDICATOR "NO_INDICATOR" OFF)
 option(USE_APPINDICATOR "USE_APPINDICATOR" OFF)
+option(CMAKE_INSTALL_LIBDIR /usr/lib)
 
 if( NOT CMAKE_BUILD_TYPE )
 	set(CMAKE_BUILD_TYPE Release)
diff -Nur a/data/CMakeLists.txt b/data/CMakeLists.txt
--- a/data/CMakeLists.txt	2021-12-12 06:22:02.000000000 -0600
+++ b/data/CMakeLists.txt	2021-12-26 12:06:42.007438546 -0600
@@ -11,6 +11,6 @@
 	MESSAGE(STATUS "[33mAutostart file data/cronopete.desktop will not be installed. You must create your own .desktop file and put it at ~/.config/autostart[39m")
 endif()
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cronopete.plug ${CMAKE_CURRENT_BINARY_DIR}/cronopete.plug)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cronopete.plug DESTINATION lib/plugs/cronopete/cronopete/)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cronopete.plug DESTINATION ${CMAKE_INSTALL_LIBDIR}/plugs/cronopete/cronopete/)
 include(GSettings)
 add_schema(org.rastersoft.cronopete.gschema.xml)
openSUSE Build Service is sponsored by