Skip to content

Commit

Permalink
Fix a few more issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed May 21, 2024
1 parent f7e67c5 commit 68053f5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ SET(core_headers
${PROJECT_SOURCE_DIR}/include/podio/DatamodelRegistry.h
${PROJECT_SOURCE_DIR}/include/podio/utilities/DatamodelRegistryIOHelpers.h
${PROJECT_SOURCE_DIR}/include/podio/GenericParameters.h
${PROJECT_SOURCE_DIR}/include/podio/Reader.h
${PROJECT_SOURCE_DIR}/include/podio/Writer.h
)

PODIO_ADD_LIB_AND_DICT(podio "${core_headers}" "${core_sources}" selection.xml)
Expand Down Expand Up @@ -143,7 +141,12 @@ set(io_sources
Reader.cc
)

PODIO_ADD_LIB_AND_DICT(podioIO "${core_headers}" "${io_sources}" io_selection.xml)
set(io_headers
${PROJECT_SOURCE_DIR}/include/podio/Writer.h
${PROJECT_SOURCE_DIR}/include/podio/Reader.h
)

PODIO_ADD_LIB_AND_DICT(podioIO "${io_headers}" "${io_sources}" io_selection.xml)
target_link_libraries(podioIO PUBLIC podio::podio podio::podioRootIO)
if(ENABLE_SIO)
target_link_libraries(podioIO PUBLIC podio::podioSioIO)
Expand All @@ -167,6 +170,8 @@ install(FILES
${CMAKE_CURRENT_BINARY_DIR}/libpodioDict_rdict.pcm
${CMAKE_CURRENT_BINARY_DIR}/podioRootIODictDict.rootmap
${CMAKE_CURRENT_BINARY_DIR}/libpodioRootIODict_rdict.pcm
${CMAKE_CURRENT_BINARY_DIR}/podioIODictDict.rootmap
${CMAKE_CURRENT_BINARY_DIR}/libpodioIODict_rdict.pcm
DESTINATION "${CMAKE_INSTALL_LIBDIR}")

if (ENABLE_SIO)
Expand Down

0 comments on commit 68053f5

Please sign in to comment.