diff options
author | Takanori Nakane <nakane.t@gmail.com> | 2021-09-09 23:24:32 +0900 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-09-09 20:06:22 +0200 |
commit | 9310ff6fefe2a15f12433f2fae96af7a92c58abf (patch) | |
tree | c6cd7dc189633f91dd65b4fe3f8f1fd6d349e3ab /libcrystfel | |
parent | 4cd5687a5be1d46e9e2546609951009744901bac (diff) |
CMake: Ensure rpath is set correctly in libcrystfel.so.
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt index 1da3f847..1c8ef887 100644 --- a/libcrystfel/CMakeLists.txt +++ b/libcrystfel/CMakeLists.txt @@ -143,22 +143,22 @@ target_link_libraries(${PROJECT_NAME} PRIVATE util ${HDF5_C_LIBRARIES} ${ZLIB_LI if (XGANDALF_FOUND) target_include_directories(${PROJECT_NAME} PRIVATE ${XGANDALF_INCLUDE_DIRS}) - target_link_libraries(${PROJECT_NAME} PRIVATE ${XGANDALF_LDFLAGS}) + target_link_libraries(${PROJECT_NAME} PRIVATE ${XGANDALF_LINK_LIBRARIES}) endif (XGANDALF_FOUND) if (FDIP_FOUND) target_include_directories(${PROJECT_NAME} PRIVATE ${FDIP_INCLUDE_DIRS}) - target_link_libraries(${PROJECT_NAME} PRIVATE ${FDIP_LDFLAGS}) + target_link_libraries(${PROJECT_NAME} PRIVATE ${FDIP_LINK_LIBRARIES}) endif (FDIP_FOUND) if (PINKINDEXER_FOUND) target_include_directories(${PROJECT_NAME} PRIVATE ${PINKINDEXER_INCLUDE_DIRS}) - target_link_libraries(${PROJECT_NAME} PRIVATE ${PINKINDEXER_LDFLAGS}) + target_link_libraries(${PROJECT_NAME} PRIVATE ${PINKINDEXER_LINK_LIBRARIES}) endif (PINKINDEXER_FOUND) if (FFTW_FOUND) target_include_directories(${PROJECT_NAME} PRIVATE ${FFTW_INCLUDE_DIRS}) - target_link_libraries(${PROJECT_NAME} PRIVATE ${FFTW_LDFLAGS}) + target_link_libraries(${PROJECT_NAME} PRIVATE ${FFTW_LINK_LIBRARIES}) endif (FFTW_FOUND) if (CURSES_FOUND) |