Skip to content

Commit

Permalink
Add bigobj to msvc compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaes committed Jan 26, 2024
1 parent 8ddddca commit bbdee62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ if(NOT MSVC)
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES ${DL_INCLUDE_DIR})
add_definitions(-DHAVE_DL=1)
endif()
else ()
add_compile_options(/bigobj)
endif()

if(Boost_FOUND)
Expand Down

0 comments on commit bbdee62

Please sign in to comment.