Unverified Commit 5697ce7f authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #160 from nim65s/devel

tests: remove link to Boost::unit_test_framework
parents 2a5c7657 538bbc79
Pipeline #19349 failed with stage
in 8 minutes and 46 seconds
......@@ -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