Commit 883d1cd5 authored by Ghislain MARY's avatar Ghislain MARY

Simplify CMakeLists.txt.

parent 748b86be
......@@ -45,7 +45,7 @@ apply_compile_flags(TEST_SOURCES "CPP")
add_executable(bzrtpTest ${TEST_SOURCES})
set_target_properties(bzrtpTest PROPERTIES LINK_FLAGS "${LINK_FLAGS}")
target_include_directories(bzrtpTest PUBLIC ${BCTOOLBOX_TESTER_INCLUDE_DIR})
target_link_libraries(bzrtpTest ${BCTOOLBOX_LIBRARIES} ${BCTOOLBOX_TESTER_LIBRARIES} ${PROJECT_LIBS})
target_link_libraries(bzrtpTest ${BCTOOLBOX_LIBRARIES} ${PROJECT_LIBS})
if(HAVE_SQRT)
target_link_libraries(bzrtpTest m)
endif()
......
Markdown is supported
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