for the Cmake build we do not want to have -Werror or force -Wall

This commit is contained in:
Bill Hoffman 2009-11-13 22:48:31 -05:00
parent b5cbafe273
commit f8b9a2681b
1 changed files with 3 additions and 3 deletions

View File

@ -732,9 +732,9 @@ ENDIF(MSVC)
# Especially for early development, we want to be a little
# aggressive about diagnosing build problems; this can get
# relaxed somewhat in final shipping versions.
IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
ADD_DEFINITIONS(-Wall -Werror)
ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
#IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
# ADD_DEFINITIONS(-Wall -Werror)
#ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
IF(ENABLE_TEST)
ADD_CUSTOM_TARGET(run_all_tests)