Commit 9b796c59 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix linking of tools.

parent 454c7764
...@@ -31,7 +31,7 @@ foreach(EXECTUABLE belr-parse belr-demo) ...@@ -31,7 +31,7 @@ foreach(EXECTUABLE belr-parse belr-demo)
apply_compile_flags(SOURCE_FILES_CXX "CPP" "CXX") apply_compile_flags(SOURCE_FILES_CXX "CPP" "CXX")
add_executable(${EXECTUABLE} ${SOURCE_FILES_CXX}) add_executable(${EXECTUABLE} ${SOURCE_FILES_CXX})
set_target_properties(${EXECTUABLE} PROPERTIES LINKER_LANGUAGE CXX) set_target_properties(${EXECTUABLE} PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(${EXECTUABLE} ${BELR_LIBRARIES_FOR_TOOLS}) target_link_libraries(${EXECTUABLE} ${BELR_LIBRARIES_FOR_TOOLS} ${BCTOOLBOX_CORE_LIBRARIES})
if(APPLE) if(APPLE)
set_target_properties(${EXECTUABLE} PROPERTIES LINK_FLAGS "-stdlib=libc++") set_target_properties(${EXECTUABLE} PROPERTIES LINK_FLAGS "-stdlib=libc++")
endif() 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