pineapple/externals/vcpkg/ports/realsense2/fix_openni2.patch
2022-07-23 03:01:36 +02:00

18 lines
672 B
Diff
Executable file

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)