Commit a88b2bab authored by Nicolas Mellado's avatar Nicolas Mellado

Use extra warning with g++ only

parent 8ed390a6
......@@ -81,7 +81,9 @@ endif(DOXYGEN_FOUND)
################################################################################
# enable extra warnings
list( APPEND CMAKE_CXX_FLAGS "-Wall -Wpedantic -Wextra -Wdouble-promotion ${CMAKE_CXX_FLAGS}")
if (CMAKE_COMPILER_IS_GNUCXX)
list( APPEND CMAKE_CXX_FLAGS "-Wall -Wpedantic -Wextra -Wdouble-promotion ${CMAKE_CXX_FLAGS}")
endif (CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment