vcpkg/ports/realsense2/fix_openni2.patch
Tsukasa Sugiura 5e9ccbc4a5 [realsense2] Enable OpenNI2 driver option (#5275)
* [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
2019-06-17 16:04:18 -07:00

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)