vcpkg/ports/pcl/fix-pkgconfig.patch
Jack·Boos·Yu ff5233a80e
[pcl] Add feature and fix find libusb, fix pkgconfig (#21276)
* [pcl] Add feature and fix find libusb, fix pkgconfig

* version

* Re-fix libusb

* version

* Re-fix libusb

* version

* Add space to libs

* version

* Disable OPENNI, fix more pkgconfigs

* Disable more options

* Re-make patch

* version
2021-11-22 14:28:36 -08:00

19 lines
656 B
Diff

diff --git a/cuda/common/CMakeLists.txt b/cuda/common/CMakeLists.txt
index b5775af..e7a2ff2 100644
--- a/cuda/common/CMakeLists.txt
+++ b/cuda/common/CMakeLists.txt
@@ -29,10 +29,10 @@ set(common_incs
)
include_directories(./include)
-#set(LIB_NAME pcl_${SUBSYS_NAME})
+set(LIB_NAME "pcl_${SUBSYS_NAME}")
set(EXT_DEPS CUDA)
-#PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}"
-# "${SUBSYS_DEPS}" "${EXT_DEPS}" "" "" "")
+PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC "${SUBSYS_DESC}"
+ PCL_DEPS "${SUBSYS_DEPS}" EXT_DEPS "" HEADER_ONLY)
# Install include files
PCL_ADD_INCLUDES(${SUBSYS_NAME} "cuda" ${incs})