2021-11-05 15:24:45 +08:00
|
|
|
From 6f4e2fea829b5986863403d6a611c52c5ac8b2a9 Mon Sep 17 00:00:00 2001
|
|
|
|
From: raahilsha-z <raahil.sha@zimaging.io>
|
|
|
|
Date: Wed, 7 Jul 2021 16:00:30 -0400
|
|
|
|
Subject: [PATCH] pcl_utils
|
|
|
|
|
|
|
|
---
|
|
|
|
cmake/pcl_utils.cmake | 13 ++-----------
|
|
|
|
1 file changed, 2 insertions(+), 11 deletions(-)
|
|
|
|
|
2017-06-15 06:46:30 +08:00
|
|
|
diff --git a/cmake/pcl_utils.cmake b/cmake/pcl_utils.cmake
|
2021-11-05 15:24:45 +08:00
|
|
|
index d87d02da9..7c951bfd5 100644
|
2017-06-15 06:46:30 +08:00
|
|
|
--- 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)
|
2018-11-29 10:20:09 +08:00
|
|
|
set(LIB_INSTALL_DIR "lib")
|
2020-08-19 06:20:22 +08:00
|
|
|
endif()
|
2018-11-29 10:20:09 +08:00
|
|
|
- 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()
|
2018-11-29 10:20:09 +08:00
|
|
|
- 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")
|
2018-11-29 10:20:09 +08:00
|
|
|
set(INCLUDE_INSTALL_DIR "${INCLUDE_INSTALL_ROOT}/pcl")
|
|
|
|
set(DOC_INSTALL_DIR "share/doc/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}")
|
2017-06-15 06:46:30 +08:00
|
|
|
set(BIN_INSTALL_DIR "bin")
|
|
|
|
set(PKGCFG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig")
|
2018-11-29 10:20:09 +08:00
|
|
|
- if(WIN32 AND NOT MINGW)
|
2017-06-15 06:46:30 +08:00
|
|
|
- set(PCLCONFIG_INSTALL_DIR "cmake")
|
2020-08-19 06:20:22 +08:00
|
|
|
- else()
|
2018-11-29 10:20:09 +08:00
|
|
|
- set(PCLCONFIG_INSTALL_DIR "share/${PROJECT_NAME_LOWER}-${PCL_VERSION_MAJOR}.${PCL_VERSION_MINOR}")
|
2020-08-19 06:20:22 +08:00
|
|
|
- endif()
|
2018-11-29 10:20:09 +08:00
|
|
|
+ set(PCLCONFIG_INSTALL_DIR "share/pcl")
|
2020-08-19 06:20:22 +08:00
|
|
|
endmacro()
|
2018-11-29 10:20:09 +08:00
|
|
|
|
|
|
|
|
2021-11-05 15:24:45 +08:00
|
|
|
--
|
|
|
|
2.32.0.windows.1
|
|
|
|
|