diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/realsense2/fix_openni2.patch | |
Diffstat (limited to 'vcpkg/ports/realsense2/fix_openni2.patch')
| -rw-r--r-- | vcpkg/ports/realsense2/fix_openni2.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/realsense2/fix_openni2.patch b/vcpkg/ports/realsense2/fix_openni2.patch new file mode 100644 index 0000000..541f837 --- /dev/null +++ b/vcpkg/ports/realsense2/fix_openni2.patch @@ -0,0 +1,18 @@ +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)
+
|