Commit 454c7764 authored by Ghislain MARY's avatar Ghislain MARY

Fix output name of library when built statically.

parent aedc70d9
......@@ -34,6 +34,7 @@ apply_compile_flags(BELR_SOURCE_FILES_CXX "CPP" "CXX")
if(ENABLE_STATIC)
add_library(belr-static STATIC ${BELR_HEADER_FILES} ${BELR_SOURCE_FILES_C} ${BELR_SOURCE_FILES_CXX})
set_target_properties(belr-static PROPERTIES OUTPUT_NAME belr)
target_link_libraries(belr-static ${BCTOOLBOX_CORE_LIBRARIES})
endif()
if(ENABLE_SHARED)
......
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