Commit f391ae38 authored by Ghislain MARY's avatar Ghislain MARY Committed by Sandrine Avakian

Fix linking of tools.

parent 735cd90f
......@@ -31,7 +31,7 @@ foreach(EXECTUABLE belcard-folder belcard-unfolder belcard-parser)
apply_compile_flags(SOURCE_FILES_CXX "CPP" "CXX")
add_executable(${EXECTUABLE} ${SOURCE_FILES_CXX})
set_target_properties(${EXECTUABLE} PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(${EXECTUABLE} ${BELCARD_LIBRARIES_FOR_TOOLS})
target_link_libraries(${EXECTUABLE} ${BELCARD_LIBRARIES_FOR_TOOLS} ${BELR_LIBRARIES})
if(APPLE)
set_target_properties(${EXECTUABLE} PROPERTIES LINK_FLAGS "-stdlib=libc++")
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