Commit 9a335d9b authored by François Grisez's avatar François Grisez

Remove runtime dependency to libbctoolbox-tester

parent 3207a12e
......@@ -46,7 +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})
target_link_libraries(belcard-static ${BELR_LIBRARIES} ${BCTOOLBOX_LIBRARIES})
target_link_libraries(belcard-static ${BELR_LIBRARIES} ${BCTOOLBOX_CORE_LIBRARIES})
endif()
if(ENABLE_SHARED)
add_library(belcard SHARED ${BELCARD_HEADER_FILES} ${BELCARD_SOURCE_FILES_C} ${BELCARD_SOURCE_FILES_CXX})
......@@ -54,7 +54,7 @@ if(ENABLE_SHARED)
set_target_properties(belcard PROPERTIES LINK_FLAGS "-stdlib=libc++")
endif()
set_target_properties(belcard PROPERTIES VERSION ${BELCARD_SO_VERSION})
target_link_libraries(belcard PRIVATE ${BELR_LIBRARIES} ${BCTOOLBOX_LIBRARIES})
target_link_libraries(belcard PRIVATE ${BELR_LIBRARIES} ${BCTOOLBOX_CORE_LIBRARIES})
if(MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}/belcard.pdb
......
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