Commit 538bbc79 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

tests: remove link to Boost::unit_test_framework

parent 90f41dbc
Pipeline #19102 failed with stage
in 1 minute and 1 second
......@@ -42,10 +42,10 @@ find_library(RT_LIB rt)
MACRO(ADD_TESTCASE NAME)
ADD_UNIT_TEST(${NAME} ${NAME}.cc)
TARGET_LINK_LIBRARIES(${NAME} PRIVATE ${PROJECT_NAME})
TARGET_INCLUDE_DIRECTORIES(${NAME} PRIVATE Boost::unit_test_framework)
if(RT_LIB)
TARGET_LINK_LIBRARIES(${NAME} PRIVATE Boost::unit_test_framework ${PROJECT_NAME} ${RT_LIB})
else()
TARGET_LINK_LIBRARIES(${NAME} PRIVATE Boost::unit_test_framework ${PROJECT_NAME})
TARGET_LINK_LIBRARIES(${NAME} PRIVATE ${RT_LIB})
endif()
ENDMACRO(ADD_TESTCASE)
......
Supports Markdown
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