Skip to content

Commit f65901c

Browse files

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎python/CMakeLists.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,21 @@ if(APPLE)
3838
INSTALL_RPATH "@loader_path"
3939
BUILD_WITH_INSTALL_RPATH TRUE
4040
)
41+
set_target_properties(musica_python PROPERTIES
42+
INSTALL_RPATH_USE_LINK_PATH TRUE
43+
)
4144
elseif(UNIX)
4245
message(STATUS "Building for Linux")
4346
set_target_properties(musica_python PROPERTIES
4447
INSTALL_RPATH "$ORIGIN"
4548
BUILD_WITH_INSTALL_RPATH TRUE
4649
)
50+
set_target_properties(musica_python PROPERTIES
51+
INSTALL_RPATH_USE_LINK_PATH TRUE
52+
)
4753
endif()
4854

49-
install(TARGETS musica_python yaml-cpp
55+
install(TARGETS musica_python yaml-cpp mechanism_configuration
5056
LIBRARY DESTINATION .
5157
)
5258

0 commit comments

Comments
 (0)
Please sign in to comment.