File tree 2 files changed +6
-1
lines changed 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 35
35
run : mkdir ${{github.workspace}}/build
36
36
37
37
- name : Configure CMake
38
- run : cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ inputs.build }} -DFCL_TREAT_WARNINGS_AS_ERRORS=ON -DFCL_COVERALLS=OFF -DCMAKE_MACOSX_RPATH =/usr/lib
38
+ run : cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ inputs.build }} -DFCL_TREAT_WARNINGS_AS_ERRORS=ON -DFCL_COVERALLS=OFF -DCMAKE_INSTALL_NAME_DIR =/usr/local /lib
39
39
40
40
- name : Build
41
41
run : cmake --build build -j2
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
54
54
VERSION ${FCL_VERSION}
55
55
SOVERSION ${FCL_ABI_VERSION} )
56
56
57
+ if (not UNIX )
58
+ set_target_properties (${PROJECT_NAME} PROPERTIES
59
+ INSTALL_NAME_DIR "@rpath" )
60
+ endif ()
61
+
57
62
# Hide symbols by default
58
63
#################################################
59
64
# Macro to check for visibility capability in compiler
You can’t perform that action at this time.
0 commit comments