Skip to content

Commit 0e114a0

Browse files
committed
fix windows compile options
1 parent e5b089a commit 0e114a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Intel"
6868
add_compile_options(-fno-exceptions)
6969
endif()
7070
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
71-
add_compile_options(${_cxx_std_flag} /Zc:__cplusplus /EHsc /bigobj -fms-compatibility)
71+
add_compile_options(${_cxx_std_flag} /Zc:__cplusplus /EHsc /bigobj)
7272
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
7373
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
7474
add_definitions(-D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)

0 commit comments

Comments
 (0)