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:
parent
1d7ea8b629
commit
bbdb75c5ff
|
@ -46,14 +46,6 @@ math(EXPR INTERFACE_VERSION "11 + ${_minor}")
|
||||||
# ?? Should there be more here ??
|
# ?? Should there be more here ??
|
||||||
SET(SOVERSION "${INTERFACE_VERSION}")
|
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
|
# Enable CTest/CDash support
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue