aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rtabmap/0004-remove-apple-sys-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/rtabmap/0004-remove-apple-sys-path.patch')
-rw-r--r--vcpkg/ports/rtabmap/0004-remove-apple-sys-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/rtabmap/0004-remove-apple-sys-path.patch b/vcpkg/ports/rtabmap/0004-remove-apple-sys-path.patch
new file mode 100644
index 0000000..692b08e
--- /dev/null
+++ b/vcpkg/ports/rtabmap/0004-remove-apple-sys-path.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -119,8 +119,6 @@ endif()
+ #Other paths...
+ IF(APPLE)
+ # For Mac ports
+- SET(CMAKE_INCLUDE_PATH "/opt/local/include;${CMAKE_INCLUDE_PATH}")
+- SET(CMAKE_LIBRARY_PATH "/opt/local/lib;${CMAKE_LIBRARY_PATH}")
+ ENDIF()
+
+ ####### Build libraries as shared or static #######