From 1506ccde7ead201139ba3d5383169c95e37796d5 Mon Sep 17 00:00:00 2001 From: Joschka Lingemann Date: Tue, 12 Jan 2016 14:54:02 +0100 Subject: [PATCH] Adding install targets for PCMs. --- datamodel/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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()