Removed GCC pedantic build argument

This commit is contained in:
Christophe Riccio 2016-05-30 02:03:29 +02:00
parent 9ed2a9601b
commit 19186b27ed

View File

@ -82,8 +82,8 @@ if(GLM_TEST_ENABLE_MS_EXTENSIONS)
else()
if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") OR (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") AND WIN32))
add_definitions(/Za)
elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
add_definitions(-pedantic)
# elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
# add_definitions(-pedantic)
endif()
endif()