File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 run : mkdir ${{github.workspace}}/build
3636
3737 - 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
3939
4040 - name : Build
4141 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
5454 VERSION ${FCL_VERSION}
5555 SOVERSION ${FCL_ABI_VERSION} )
5656
57+ if (NOT UNIX )
58+ set_target_properties (${PROJECT_NAME } PROPERTIES
59+ INSTALL_NAME_DIR "@rpath" )
60+ endif ()
61+
5762# Hide symbols by default
5863#################################################
5964# Macro to check for visibility capability in compiler
You can’t perform that action at this time.
0 commit comments