Commit e72221d9 authored by Administrator's avatar Administrator Committed by Florian Uhlig
Browse files

Correctly link OnlineData library

parent a3091a5f
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
set(SRCS set(SRCS
${CMAKE_SOURCE_DIR}/core/data/sts/CbmStsDigi.cxx ${CMAKE_SOURCE_DIR}/core/data/sts/CbmStsDigi.cxx
${CMAKE_SOURCE_DIR}/core/data/sts/CbmStsAddress.cxx
) )
add_library(OnlineData SHARED ${SRCS}) add_library(OnlineData SHARED ${SRCS})
...@@ -18,6 +19,12 @@ target_include_directories(OnlineData ...@@ -18,6 +19,12 @@ target_include_directories(OnlineData
target_include_directories(OnlineData SYSTEM target_include_directories(OnlineData SYSTEM
PUBLIC ${Boost_INCLUDE_DIR} PUBLIC ${Boost_INCLUDE_DIR}
PUBLIC ${FAIRLOGGER_INCLUDE_DIR}
)
target_link_directories(OnlineData
PUBLIC ${FAIRLOGGER_LIBRARY_DIR}
) )
target_compile_definitions(OnlineData PUBLIC NO_ROOT) target_compile_definitions(OnlineData PUBLIC NO_ROOT)
target_link_libraries(OnlineData FairLogger)
Supports Markdown
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