Skip to content
Snippets Groups Projects
Commit f386d316 authored by Sam Yates's avatar Sam Yates Committed by Ben Cumming
Browse files

Link external libs in global_communication test (#133)

* Add `target_link_libraries` for external libs in `tests/global_communication/CMakeLists.txt`.

Fixes issue #132
parent 8b30c273
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,7 @@ set(TARGETS global_communication.exe)
foreach(target ${TARGETS})
target_link_libraries(${target} LINK_PUBLIC nestmc gtest)
if(WITH_TBB)
target_link_libraries(${target} LINK_PUBLIC ${TBB_LIBRARIES})
endif()
target_link_libraries(${target} LINK_PUBLIC ${EXTERNAL_LIBRARIES})
if(WITH_MPI)
target_link_libraries(${target} LINK_PUBLIC ${MPI_C_LIBRARIES})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment