summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-20 17:05:04 (GMT)
committerBrad King <brad.king@kitware.com>2011-12-22 15:38:35 (GMT)
commitbbdb75c5ff6dfbfaf87ad3c866e72562fdbf7583 (patch)
treef6a403cddccdd30914fcac0c713195db343e96a9 /Utilities/cmlibarchive/CMakeLists.txt
parent1d7ea8b6294fac24ceaac742da8b7d3ff734a06f (diff)
downloadCMake-bbdb75c5ff6dfbfaf87ad3c866e72562fdbf7583.zip
CMake-bbdb75c5ff6dfbfaf87ad3c866e72562fdbf7583.tar.gz
CMake-bbdb75c5ff6dfbfaf87ad3c866e72562fdbf7583.tar.bz2
libarchive: Remove -Wall -Werror from build with GNU
We are not developing new libarchive features. Furthermore -Werror can break some try_compile cases.
Diffstat (limited to 'Utilities/cmlibarchive/CMakeLists.txt')
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
index 49c9b66..377cbec 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
@@ -46,14 +46,6 @@ math(EXPR INTERFACE_VERSION "11 + ${_minor}")
# ?? Should there be more here ??
SET(SOVERSION "${INTERFACE_VERSION}")
-# 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)
- SET(CMAKE_REQUIRED_FLAGS "-Wall -Werror")
-ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
-
# Enable CTest/CDash support
include(CTest)