Skip to content

Commit

Permalink
Switch to using /permissive- in vs2017
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Gray committed Jan 17, 2018
1 parent 4e2ae5e commit 1a74743
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ endif()

# Enable conformance mode for newer versions of MSVC
if(MSVC_VERSION GREATER 1910)
string(APPEND CMAKE_CXX_FLAGS " /d1parsePackExpressions-")
string(APPEND CMAKE_CXX_FLAGS " /permissive-")
endif()


add_definitions(-DGTEST_HAS_TR1_TUPLE=0)

# Recurse through source directories
Expand Down

0 comments on commit 1a74743

Please sign in to comment.