ECBUILD-116 CMake: use ecbuild_add_c_flags

This commit is contained in:
Shahram Najm 2015-09-18 10:39:20 +01:00
parent 8b13c8887f
commit 05bdf8761e
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ add_definitions( -DHAVE_ECCODES_CONFIG_H )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/eccodes_config.h DESTINATION ${INSTALL_INCLUDE_DIR} )
if( CMAKE_COMPILER_IS_GNUCC )
cmake_add_c_flags("-pedantic")
ecbuild_add_c_flags("-pedantic")
endif()
############################################################################################