vcpkg/ports/openmvg/0002-eigen-3.4.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

13 lines
597 B
Diff

--- a/src/openMVG/multiview/CMakeLists.txt
+++ b/src/openMVG/multiview/CMakeLists.txt
@@ -38,6 +38,9 @@ target_include_directories(openMVG_multiview
$<INSTALL_INTERFACE:include>
)
set_target_properties(openMVG_multiview PROPERTIES SOVERSION ${OPENMVG_VERSION_MAJOR} VERSION "${OPENMVG_VERSION_MAJOR}.${OPENMVG_VERSION_MINOR}")
+if (MSVC)
+ set_target_properties(openMVG_multiview PROPERTIES COMPILE_FLAGS "/bigobj")
+endif (MSVC)
add_library(openMVG_multiview_test_data ${MULTIVIEWTESTDATA})
target_link_libraries(openMVG_multiview_test_data PRIVATE openMVG_numeric openMVG_multiview)