Skip to content

Commit

Permalink
Fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic authored and YannickJadoul committed Jan 25, 2021
1 parent b53ca5c commit 8125421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ else()
cmake_policy(VERSION 3.18)
endif()

if (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc")
endif()
# Only needed for CMake < 3.5 support
include(CMakeParseArguments)

Expand Down

0 comments on commit 8125421

Please sign in to comment.