Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "try to help netbsd compiling the unit_tmgr test, which seems to have some...
[simgrid.git] / tools / cmake / Tests.cmake
index fb4dc7b..c432450 100644 (file)
@@ -93,7 +93,7 @@ ADD_TEST(testall                                 ${CMAKE_BINARY_DIR}/testall)
 
 if(Boost_UNIT_TEST_FRAMEWORK_FOUND)
   add_executable       (unit_tmgr src/surf/trace_mgr_test.cpp)
-  target_link_libraries(unit_tmgr simgrid boost_unit_test_framework)
+  target_link_libraries(unit_tmgr simgrid ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
   ADD_TEST(unit_tmgr ${CMAKE_BINARY_DIR}/unit_tmgr --build_info=yes)
   
 else()