From 189b332730d555e95ce2306d9f7502993c5378b8 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Fri, 1 Dec 2023 12:18:09 +0100 Subject: [PATCH] Make sure to populat the include_dirs of the lcio target (#180) --- src/cpp/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt index 811460d63..a00bd68b6 100644 --- a/src/cpp/CMakeLists.txt +++ b/src/cpp/CMakeLists.txt @@ -258,6 +258,10 @@ ADD_SHARED_LIBRARY( lcio ${LCIO_MT_SRCS} ) INSTALL_SHARED_LIBRARY( lcio DESTINATION ${CMAKE_INSTALL_LIBDIR} EXPORT LCIOTargets ) +target_include_directories(lcio PUBLIC + $ + $ +) TARGET_LINK_LIBRARIES( lcio ${CMAKE_THREAD_LIBS_INIT} ) TARGET_LINK_LIBRARIES( lcio PRIVATE SIO::sio )