vcpkg/ports/pcl/pcl_utils.patch

29 lines
1.0 KiB
Diff
Raw Normal View History

diff --git a/cmake/pcl_utils.cmake b/cmake/pcl_utils.cmake
2020-08-19 06:20:22 +08:00
index d87d02d..7c951bf 100644
--- a/cmake/pcl_utils.cmake
+++ b/cmake/pcl_utils.cmake
2020-08-19 06:20:22 +08:00
@@ -94,21 +94,12 @@ macro(SET_INSTALL_DIRS)
if(NOT DEFINED LIB_INSTALL_DIR)
set(LIB_INSTALL_DIR "lib")
2020-08-19 06:20:22 +08:00
endif()
- if(NOT ANDROID)
- set(INCLUDE_INSTALL_ROOT
- "include/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}")
2020-08-19 06:20:22 +08:00
- else()
- set(INCLUDE_INSTALL_ROOT "include") # Android, don't put into subdir
2020-08-19 06:20:22 +08:00
- endif()
+ set(INCLUDE_INSTALL_ROOT "include")
set(INCLUDE_INSTALL_DIR "${INCLUDE_INSTALL_ROOT}/pcl")
set(DOC_INSTALL_DIR "share/doc/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}")
set(BIN_INSTALL_DIR "bin")
set(PKGCFG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig")
- if(WIN32 AND NOT MINGW)
- set(PCLCONFIG_INSTALL_DIR "cmake")
2020-08-19 06:20:22 +08:00
- else()
- set(PCLCONFIG_INSTALL_DIR "share/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}")
2020-08-19 06:20:22 +08:00
- endif()
+ set(PCLCONFIG_INSTALL_DIR "share/pcl")
2020-08-19 06:20:22 +08:00
endmacro()