Commit 41b5983a authored by Ghislain MARY's avatar Ghislain MARY

Fix linking of tester.

parent 883d1cd5
......@@ -21,7 +21,7 @@
############################################################################
cmake_minimum_required(VERSION 3.0)
project(bzrtp VERSION 1.0.3 LANGUAGES C)
project(bzrtp VERSION 1.0.3 LANGUAGES C CXX)
option(ENABLE_SHARED "Build shared library." YES)
......
......@@ -44,6 +44,7 @@ apply_compile_flags(TEST_SOURCES "CPP")
add_executable(bzrtpTest ${TEST_SOURCES})
set_target_properties(bzrtpTest PROPERTIES LINK_FLAGS "${LINK_FLAGS}")
set_target_properties(bzrtpTest PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(bzrtpTest PUBLIC ${BCTOOLBOX_TESTER_INCLUDE_DIR})
target_link_libraries(bzrtpTest ${BCTOOLBOX_LIBRARIES} ${PROJECT_LIBS})
if(HAVE_SQRT)
......
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