summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-14 03:48:31 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-14 03:48:31 (GMT)
commitf8b9a2681b47bffb4880e17a7fdb1b999b8a5149 (patch)
treee677617115cf3f2c29dc87c42d9dfe2599d18ecb
parentb5cbafe2732f144f61acb3e7b9f4809cf528decc (diff)
downloadCMake-f8b9a2681b47bffb4880e17a7fdb1b999b8a5149.zip
CMake-f8b9a2681b47bffb4880e17a7fdb1b999b8a5149.tar.gz
CMake-f8b9a2681b47bffb4880e17a7fdb1b999b8a5149.tar.bz2
for the Cmake build we do not want to have -Werror or force -Wall
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt6
1 files 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)