libarchive: Remove -Wall -Werror from build with GNU

We are not developing new libarchive features.  Furthermore -Werror can
break some try_compile cases.
This commit is contained in:
Brad King 2011-12-20 12:05:04 -05:00
parent 1d7ea8b629
commit bbdb75c5ff
1 changed files with 0 additions and 8 deletions

View File

@ -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)