From b32ad77c55a626cedd359826cccf2414f19bc7c3 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Wed, 22 Dec 2010 15:57:52 +0100 Subject: [PATCH] fix build with libproxy < 0.4.1 by building without it --- CMakeLists.txt | 2 +- libzypp.spec.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fffec8f..b598f47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,7 +112,7 @@ FIND_PACKAGE(Udev REQUIRED) FIND_PACKAGE(libproxy) IF ( NOT LIBPROXY_FOUND ) - MESSAGE( FATAL_ERROR " libproxy not found" ) + MESSAGE( STATUS " libproxy not found" ) ELSE ( NOT LIBPROXY_FOUND ) INCLUDE_DIRECTORIES( ${LIBPROXY_INCLUDE_DIR} ) ADD_DEFINITIONS(-D_WITH_LIBPROXY_SUPPORT_) diff --git a/libzypp.spec.cmake b/libzypp.spec.cmake index b6d05d4..d35da5b 100644 --- a/libzypp.spec.cmake +++ b/libzypp.spec.cmake @@ -34,7 +34,7 @@ BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: graphviz BuildRequires: libxml2-devel -BuildRequires: libproxy-devel >= 0.4.1 +BuildRequires: libproxy-devel BuildRequires: libsatsolver-devel >= 0.14.17 %if 0%{?suse_version} -- 2.7.4