File JUCE8-cmake-libdir-path.patch of Package JUCE8_06

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 019aa86c..148b7994 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -137,7 +137,7 @@ write_basic_package_version_file("${JUCE_BINARY_DIR}/JUCEConfigVersion.cmake"
     VERSION ${JUCE_VERSION}
     COMPATIBILITY ExactVersion)
 
-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