From aed22a7e7a448e3f7c2b3781f3cd489d3bc2fd70 Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 30 Nov 2020 13:10:39 +0000 Subject: [PATCH] CMake: Place juceaide in versioned folder when installing package This change allows multiple versions of JUCE to be installed to the same CMAKE_INSTALL_PREFIX, avoiding conflicting paths to juceaide. --- extras/Build/juceaide/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/Build/juceaide/CMakeLists.txt b/extras/Build/juceaide/CMakeLists.txt index 5107a878b6..6f5c640185 100644 --- a/extras/Build/juceaide/CMakeLists.txt +++ b/extras/Build/juceaide/CMakeLists.txt @@ -97,7 +97,7 @@ else() add_executable(juce::juceaide ALIAS juceaide) - set(JUCE_TOOL_INSTALL_DIR "bin" CACHE STRING + set(JUCE_TOOL_INSTALL_DIR "bin/JUCE-${JUCE_VERSION}" CACHE STRING "The location, relative to the install prefix, where juceaide will be installed") install(PROGRAMS "${imported_location}" DESTINATION "${JUCE_TOOL_INSTALL_DIR}")