Skip to content
Snippets Groups Projects
Commit 44f9f717 authored by Jens Georg's avatar Jens Georg
Browse files

Link application module with tec library

Instead of forcing every consumer of this module to link against it
parent 9b6092f4
No related branches found
No related tags found
No related merge requests found
Pipeline #47226 passed
......@@ -39,7 +39,7 @@ set(MODULE_LIB_NAME Tec-ApplicationModule)
add_library(${MODULE_LIB_NAME} SHARED ${modules_sources} ${modules_includes})
set_target_properties(${MODULE_LIB_NAME} PROPERTIES VERSION ${${PROJECT_NAME}_FULL_LIBRARY_VERSION}
SOVERSION ${${PROJECT_NAME}_SOVERSION})
target_link_libraries(${MODULE_LIB_NAME} ${ChimeraTK-ApplicationCore_LIBRARIES} ${ADAPTER_LIBRARIES})
target_link_libraries(${MODULE_LIB_NAME} ${ChimeraTK-ApplicationCore_LIBRARIES} ${tec_LIBRARY})
# Process tests:
enable_testing()
......@@ -72,7 +72,7 @@ foreach( testExecutableSrcFile ${testExecutables})
)
target_link_libraries(${excutableName} ${MODULE_LIB_NAME} ${ChimeraTK-ApplicationCore_LIBRARIES} ${Adapter_LIBRARIES}
${tec_LIBRARIES} ${PROJECT_NAME}testlib)
${PROJECT_NAME}testlib)
add_test(
NAME ${excutableName}
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${excutableName}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment