mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 20:19:06 +08:00
dd15e6f026
Fix bug when using "vcpkg integrate install" command by change directory structure to install the header files.
23 lines
948 B
Diff
23 lines
948 B
Diff
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)
|