Skip to content
Snippets Groups Projects
Commit b259204e authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

rich/CMakeLists.txt: compile library against spdlog

parent 7b0d3dae
Branches
No related tags found
1 merge request!329rich/CMakeLists.txt: compile library against spdlog
Pipeline #98487 failed
...@@ -18,8 +18,8 @@ set(algo_exe benchmark_${det_name}_reconstruction) ...@@ -18,8 +18,8 @@ set(algo_exe benchmark_${det_name}_reconstruction)
add_executable(${algo_exe} ${algo_exe_source}) add_executable(${algo_exe} ${algo_exe_source})
# linking # linking
target_link_libraries(${algo_exe} target_link_libraries(${algo_lib}
${algo_lib} PUBLIC
ROOT::Core ROOT::Core
ROOT::Hist ROOT::Hist
podio::podio podio::podio
...@@ -28,6 +28,10 @@ target_link_libraries(${algo_exe} ...@@ -28,6 +28,10 @@ target_link_libraries(${algo_exe}
EDM4HEP::edm4hep EDM4HEP::edm4hep
spdlog::spdlog spdlog::spdlog
) )
target_link_libraries(${algo_exe}
PRIVATE
${algo_lib}
)
# installation # installation
install(FILES ${algo_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${CMAKE_PROJECT_NAME}/${det_name}) install(FILES ${algo_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${CMAKE_PROJECT_NAME}/${det_name})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment