File JUCE7-cmake-libdir-path.patch of Package JUCE8_00

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb7252c29..54c357aaf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -123,7 +123,7 @@ write_basic_package_version_file("${JUCE_BINARY_DIR}/JUCEConfigVersion.cmake"
     COMPATIBILITY ExactVersion
     ${extra_version_arg})
 
-set(JUCE_INSTALL_DESTINATION "lib/cmake/JUCE-${JUCE_VERSION}" CACHE STRING
+set(JUCE_INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/JUCE-${JUCE_VERSION}" CACHE STRING
     "The location, relative to the install prefix, where the JUCE config file will be installed")
 
 set(JUCE_MODULE_PATH "include/JUCE-${JUCE_VERSION}/modules")
openSUSE Build Service is sponsored by