diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ed32f2c7a1710934cf520da52f1adb4f16c76f1..b261b603d2361ae69c70600ff7f53812af022c11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,14 @@ target_link_libraries( xtensor ) +if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + target_compile_options( + evalhyd + PRIVATE + "/bigobj" + ) +endif() + target_compile_features( evalhyd PUBLIC