Commit 503c6759 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fix cmake compil for MacOSX

parent 27d0da95
......@@ -38,6 +38,9 @@ else()
add_library(belr SHARED ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})
set_target_properties(belr PROPERTIES VERSION ${BELR_SO_VERSION})
endif()
if(APPLE)
target_compile_features(belr PRIVATE cxx_auto_type cxx_variadic_macros)
endif()
target_link_libraries(belr)
install(TARGETS belr EXPORT ${EXPORT_TARGETS_NAME}Targets
......
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