From 87b09efa123604ece838d5d3b2dbaa210a405c96 Mon Sep 17 00:00:00 2001
From: Philip Trettner <Philip.Trettner@rwth-aachen.de>
Date: Sat, 9 Dec 2017 19:04:20 +0100
Subject: [PATCH] added bigobj compile option for msvc

---
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f5291c2..7af8c00 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,10 @@ if(NOT MSVC)
 else()
     target_compile_options(assimp PUBLIC
         /MP # multi processor compilation
-        )
+    )
+    target_compile_options(assimp PRIVATE
+        /bigobj # due to IFCReaderGen1
+    )
 endif()
 
 target_compile_definitions(assimp PUBLIC
-- 
GitLab