Skip to content

Commit b1762b0

Browse files
authored
Disable warnings suppression in clang + MSVC case (#378)
1 parent 2829fb3 commit b1762b0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cmake/configure.cmake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ if( UNIX )
6565
endif()
6666

6767
if( MSVC )
68-
if ((CMAKE_C_COMPILER_ID STREQUAL "Clang") AND (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
69-
set(COMMON_COMPILER_FLAGS
70-
"-Wno-tautological-pointer-compare \
71-
-Wno-ignored-attributes")
72-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_COMPILER_FLAGS}")
73-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_COMPILER_FLAGS}")
74-
endif()
75-
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
7668
set(COMMON_FLAGS "/W4 /wd4267 /wd4244")
7769
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${COMMON_FLAGS}" )
7870
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${COMMON_FLAGS}")

0 commit comments

Comments
 (0)