From f8b9a2681b47bffb4880e17a7fdb1b999b8a5149 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 13 Nov 2009 22:48:31 -0500 Subject: for the Cmake build we do not want to have -Werror or force -Wall --- Utilities/cmlibarchive/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index ca06916..4fbcbcf 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -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) -- cgit v0.12