diff --git a/cmake/pcl_utils.cmake b/cmake/pcl_utils.cmake index 69f1e76a4..37305815e 100644 --- a/cmake/pcl_utils.cmake +++ b/cmake/pcl_utils.cmake @@ -105,7 +105,7 @@ macro(SET_INSTALL_DIRS) endif (NOT DEFINED LIB_INSTALL_DIR) if(NOT ANDROID) set(INCLUDE_INSTALL_ROOT - "include/${PROJECT_NAME_LOWER}-${PCL_MAJOR_VERSION}.${PCL_MINOR_VERSION}") + "include") else(NOT ANDROID) set(INCLUDE_INSTALL_ROOT "include") # Android, don't put into subdir endif(NOT ANDROID) @@ -114,7 +114,7 @@ macro(SET_INSTALL_DIRS) set(BIN_INSTALL_DIR "bin") set(PKGCFG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig") if(WIN32 AND NOT MINGW) - set(PCLCONFIG_INSTALL_DIR "cmake") + set(PCLCONFIG_INSTALL_DIR "share/pcl") else(WIN32 AND NOT MINGW) set(PCLCONFIG_INSTALL_DIR "share/${PROJECT_NAME_LOWER}-${PCL_MAJOR_VERSION}.${PCL_MINOR_VERSION}") endif(WIN32 AND NOT MINGW)