Commit e8a854ca authored by Ghislain MARY's avatar Ghislain MARY

Fix output name of library when built statically.

parent 7ba5c18d
......@@ -46,6 +46,7 @@ apply_compile_flags(BELCARD_SOURCE_FILES_CXX "CPP" "CXX")
if(ENABLE_STATIC)
add_library(belcard-static STATIC ${BELCARD_HEADER_FILES} ${BELCARD_SOURCE_FILES_C} ${BELCARD_SOURCE_FILES_CXX})
set_target_properties(belcard-static PROPERTIES OUTPUT_NAME belcard)
target_link_libraries(belcard-static ${BELR_LIBRARIES} ${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