Skip to content
Snippets Groups Projects
Commit 7e3e6adf authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

external: don't link librt on apple.

parent 90a508b7
No related branches found
No related tags found
1 merge request!1161algo: Update STS GPU Reco
...@@ -104,9 +104,8 @@ list(APPEND dir_to_link ...@@ -104,9 +104,8 @@ list(APPEND dir_to_link
${Boost_BEAST_LIBRARY} ${Boost_BEAST_LIBRARY}
) )
if(NOT APPLE) if(NOT APPLE)
list(APPEND dir_to_link ${Boost_THREAD_LIBRARY}) list(APPEND dir_to_link ${Boost_THREAD_LIBRARY} -lrt)
endif() endif()
list(APPEND dir_to_link -lrt)
set_target_properties(external::fles_ipc PROPERTIES set_target_properties(external::fles_ipc PROPERTIES
IMPORTED_LOCATION ${FLESNET_DESTDIR}/src/flesnet-build/lib/fles_ipc/${CMAKE_STATIC_LIBRARY_PREFIX}fles_ipc${CMAKE_STATIC_LIBRARY_SUFFIX} IMPORTED_LOCATION ${FLESNET_DESTDIR}/src/flesnet-build/lib/fles_ipc/${CMAKE_STATIC_LIBRARY_PREFIX}fles_ipc${CMAKE_STATIC_LIBRARY_SUFFIX}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment