Skip to content

Commit

Permalink
msvc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminghuang committed Dec 16, 2023
1 parent 08872db commit afc0211
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_link_options(-fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined)
endif()

if(MSVC)
add_compile_options(/bigobj)
endif()

add_library(Boost::ut INTERFACE IMPORTED)
target_include_directories(Boost::ut INTERFACE ${ut_SOURCE_DIR}/include)
target_compile_definitions(Boost::ut INTERFACE BOOST_UT_DISABLE_MODULE)
Expand Down

0 comments on commit afc0211

Please sign in to comment.