early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/rtabmap/0001-add-bigobj-for-msvc.patch
vendored
Executable file
24
externals/vcpkg/ports/rtabmap/0001-add-bigobj-for-msvc.patch
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
From 37a2b1fe682bcea48cb944762853bec404c9e937 Mon Sep 17 00:00:00 2001
|
||||
From: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
|
||||
Date: Sun, 6 Feb 2022 12:29:02 -0800
|
||||
Subject: [PATCH] add bigobj for msvc
|
||||
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5cdae617..ed829a46 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -106,6 +106,7 @@ if(MSVC)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP${N}")
|
||||
endif()
|
||||
endif()
|
||||
+ add_compile_options("/bigobj")
|
||||
endif()
|
||||
|
||||
# [Eclipse] Automatic Discovery of Include directories (Optional, but handy)
|
||||
--
|
||||
2.35.1.windows.2
|
||||
|
||||
Reference in New Issue
Block a user