Skip to content

Commit

Permalink
Add msvc conformance check (#6234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaojun-Liu committed Dec 19, 2023
1 parent 2dfb9a4 commit 074b3e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ if(BUILD_CPP_TEST)

file(GLOB CPP_TEST_SOURCES tests/cpp_tests/*.cpp)
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /permissive-")
set(
CompilerFlags
CMAKE_CXX_FLAGS
Expand Down

0 comments on commit 074b3e8

Please sign in to comment.