Commit 8a7a0033 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

This should fix compilation on MacOSX

parent f8b99563
......@@ -36,6 +36,9 @@ if(ENABLE_STATIC)
add_library(belr STATIC ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})
else()
add_library(belr SHARED ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})
if(APPLE)
set_target_properties(belr PROPERTIES LINKER_FLAGS "-stdlib=libc++")
endif()
set_target_properties(belr PROPERTIES VERSION ${BELR_SO_VERSION})
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