mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 18:37:50 +08:00
5e9ccbc4a5
* [realsense2] Update to v2.18.0 Update realsense2 port to librealsense v2.18.0. * [realsense2] Add OpenNI2 driver option Add OpenNI2 driver option. * [realsense2] Fix OpenNI2 driver option * [realsense2] Remove unnecessary patch * [realsense2] Bump CONTROL version
19 lines
672 B
Diff
19 lines
672 B
Diff
diff --git a/wrappers/openni2/CMakeLists.txt b/wrappers/openni2/CMakeLists.txt
|
|
index 0eee84c2..769e67ff 100755
|
|
--- a/wrappers/openni2/CMakeLists.txt
|
|
+++ b/wrappers/openni2/CMakeLists.txt
|
|
@@ -6,12 +6,7 @@ set(OPENNI2_DIR "c:/Program Files/OpenNI2" CACHE FILEPATH "OpenNI2 SDK directory
|
|
set(REALSENSE2_DIR "c:/Program Files (x86)/Intel RealSense SDK 2.0" CACHE FILEPATH "RealSense2 SDK directory")
|
|
|
|
# INCLUDE DIR
|
|
-if (UNIX)
|
|
- include_directories (${OPENNI2_DIR})
|
|
-else ()
|
|
- include_directories (${OPENNI2_DIR}/Include)
|
|
-endif ()
|
|
-
|
|
+include_directories (${OPENNI2_DIR})
|
|
include_directories (${REALSENSE2_DIR}/include)
|
|
include_directories (src)
|
|
|