diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59c8caca24e5a48a27f7f625124af64415c197fa..bc1163b22813246de858e214826eb91e5589bc1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,6 +45,14 @@ target_link_libraries(
                 xtensor
 )
 
+if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+    target_compile_options(
+            evalhyd
+            INTERFACE
+                "/bigobj"
+    )
+endif()
+
 target_compile_features(
         evalhyd
         INTERFACE