From 65d9e08726f1323488c8f81972b32b452b9f3680 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 28 Jul 2023 13:01:22 +0200 Subject: [PATCH] cmake: Correct symlink install code Signed-off-by: falkTX --- cmake/CMakeLists.txt | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 603e628ef..33c0087f3 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -1213,17 +1213,19 @@ if(${CARLA_BUILD_FRAMEWORKS}) install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-bridge-lv2-gtk2 - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-bridge-lv2-gtk2)" + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-bridge-lv2-gtk2)") + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-bridge-lv2-gtk3 - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-bridge-lv2-gtk3)" + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-bridge-lv2-gtk3)") + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-bridge-native - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-bridge-native)" + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-bridge-native)") + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-discovery-native - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-discovery-native)" - ) + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-standalone.framework/carla-discovery-native)") endif() ####################################################################################################################### @@ -1336,17 +1338,19 @@ if(${CARLA_BUILD_FRAMEWORKS}) install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-bridge-lv2-gtk2 - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-bridge-lv2-gtk2)" + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-bridge-lv2-gtk2)") + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-bridge-lv2-gtk3 - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-bridge-lv2-gtk3)" + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-bridge-lv2-gtk3)") + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-bridge-native - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-bridge-native)" + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-bridge-native)") + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink Versions/A/carla-discovery-native - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-discovery-native)" - ) + $ENV{DESTDIR}${CMAKE_INSTALL_FULL_LIBDIR}/carla-utils.framework/carla-discovery-native)") endif() #######################################################################################################################