diff --git a/datamodel/CMakeLists.txt b/datamodel/CMakeLists.txt index bbbdd63c..c79414cd 100644 --- a/datamodel/CMakeLists.txt +++ b/datamodel/CMakeLists.txt @@ -21,3 +21,9 @@ install(TARGETS datamodel LIBRARY DESTINATION "${INSTALL_LIB_DIR}" COMPONENT shlib PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}/datamodel" COMPONENT dev) + +if (${ROOT_VERSION} GREATER 6) + install(FILES + "${PROJECT_BINARY_DIR}/datamodel/ExampleDict_rdict.pcm" + DESTINATION "${INSTALL_LIB_DIR}" COMPONENT dev) +endif()