From 6ce3b72144a3060e9fbfc1949e659144a6b9d843 Mon Sep 17 00:00:00 2001 From: Tsukasa Sugiura Date: Mon, 6 Nov 2017 23:43:18 +0900 Subject: [PATCH] Fix PACKAGE to include cmake/Modules directory Fix PACKAGE to include cmake/Modules directory. New PCLConfig.cmake requires find modules. --- cmake/pcl_pclconfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/pcl_pclconfig.cmake b/cmake/pcl_pclconfig.cmake index 97c1693026b..60c16d7f157 100644 --- a/cmake/pcl_pclconfig.cmake +++ b/cmake/pcl_pclconfig.cmake @@ -4,7 +4,7 @@ list(REMOVE_ITEM PCL_SUBSYSTEMS_MODULES tools cuda_apps global_tests proctor exa file(GLOB PCLCONFIG_FIND_MODULES "${PCL_SOURCE_DIR}/cmake/Modules/*.cmake") -install(FILES ${PCLCONFIG_FIND_MODULES} DESTINATION ${PCLCONFIG_INSTALL_DIR}/Modules) +install(FILES ${PCLCONFIG_FIND_MODULES} COMPONENT pclconfig DESTINATION ${PCLCONFIG_INSTALL_DIR}/Modules) set(PCLCONFIG_AVAILABLE_COMPONENTS) set(PCLCONFIG_AVAILABLE_COMPONENTS_LIST)