From ab91dd6c5746ede6228d144f3791c911446df7b7 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Tue, 9 Sep 2008 09:38:20 +0000 Subject: [PATCH] dont enable -Werror for bindings, swig sucks too much for now, do the Werror set per directory until i fogure out how to disable it only in bindings after setting it on in the top level dir --- CMakeLists.txt | 1 - tools/CMakeLists.txt | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2128ce..675c7fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,7 +113,6 @@ FIND_PROGRAM(SWIG_EXECUTABLE PATHS ${SWIG_DIR} ${SWIG_DIR}/.. ${SWIG_DIR}/../../bin /usr/bin /usr/local/bin ${CMAKE_INSTALL_PREFIX}/bin ) -set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall" ) set ( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -g -O3" ) set ( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g3 -O0" ) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 0dea293..d48462c 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -6,6 +6,8 @@ ENABLE_TESTING() ADD_SUBDIRECTORY(tests) +set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall" ) + SET(rpmdb2solv_REPOS rpmdb2solv.c repo_rpmdb.h -- 2.7.4