vcpkg/ports/rtabmap/0001-add-bigobj-for-msvc.patch
Tobias Wood dcedc95761
[eigen3] Update to 3.4.0 (#19665)
* [eigen3] Update to 3.4.0

* [theia] Update to support Eigen 3.4

* [shogun/openmvg] Patches to support Eigen 3.4 from @cenit

* Commit result of x-add-version

* [rtabmap] add bigobj

* x-add-version

* Update ports/eigen3/vcpkg.json

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Run x-add-version

Co-authored-by: Tobias Wood <tobias@mi3.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2022-02-10 10:06:26 -08:00

25 lines
631 B
Diff

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