Skip to content

Commit

Permalink
Make sure to also put pre-generated headers into include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 4, 2023
1 parent 189b332 commit 4844999
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ ADD_SHARED_LIBRARY( lcio
INSTALL_SHARED_LIBRARY( lcio DESTINATION ${CMAKE_INSTALL_LIBDIR} EXPORT LCIOTargets )
target_include_directories(lcio PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/cpp/include>
$<BUILD_INTERFACE:${PROJECt_SOURCE_DIR}/src/cpp/include/pre-generated>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)

Expand Down

0 comments on commit 4844999

Please sign in to comment.