diff --git a/CMakeLists.txt b/CMakeLists.txt index ab341ae5f..4fd3636e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,14 +9,7 @@ SET( ${PROJECT_NAME}_VERSION_PATCH 1 ) SET( ${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}" ) - -#--- Run the podio class generator and link library ------- - find_package(podio REQUIRED HINTS $ENV{PODIO}) - -#--- Declare ROOT dependency --------------------------------------------------- -list(APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS}) -set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) find_package(ROOT REQUIRED COMPONENTS RIO Tree Physics) #--- Define basic build settings ----------------------------------------------- diff --git a/edm4hep/CMakeLists.txt b/edm4hep/CMakeLists.txt index 2283287e5..eec88e4e5 100644 --- a/edm4hep/CMakeLists.txt +++ b/edm4hep/CMakeLists.txt @@ -40,12 +40,9 @@ install(TARGETS ${EDM4HEP_INSTALL_LIBS} install(FILES "${PROJECT_BINARY_DIR}/edm4hep/edm4hepDictDict.rootmap" + "${PROJECT_BINARY_DIR}/edm4hep/libedm4hepDict_rdict.pcm" DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT dev) install(FILES ../edm4hep.yaml DESTINATION "${CMAKE_INSTALL_DATADIR}/edm4hep" COMPONENT dev) - -install(FILES - "${PROJECT_BINARY_DIR}/edm4hep/libedm4hepDict_rdict.pcm" - DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT dev)