From 8c1e70f64277dd3d15e2b5dff217ce3953d80b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20P=C4=85czkowski?= Date: Tue, 9 Mar 2021 22:56:46 -0800 Subject: [PATCH] cmake: add rpath to SuperCollider target --- editors/sc-ide/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editors/sc-ide/CMakeLists.txt b/editors/sc-ide/CMakeLists.txt index 76ff56fcd02..9c9ffefe705 100644 --- a/editors/sc-ide/CMakeLists.txt +++ b/editors/sc-ide/CMakeLists.txt @@ -344,7 +344,7 @@ target_link_libraries( libscide PUBLIC boost_system_lib boost_filesystem_lib) include_directories(${boost_include_dirs}) # This makes sclang/scide work with a Qt installation at a fixed location. -set_property(TARGET libscide PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE) +set_property(TARGET libscide SuperCollider PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE) if(APPLE) target_link_libraries( libscide PUBLIC "-framework CoreServices -framework Foundation") @@ -365,7 +365,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux") target_link_libraries(libscide PUBLIC ${X11_X11_LIB}) # This makes sclang/scide work with a Qt installation at a fixed location. - set_property(TARGET libscide PROPERTY INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") + set_property(TARGET libscide SuperCollider PROPERTY INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") endif() if(PTHREADS_FOUND)