Accepting request 327809 from home:tittiatcoke:branches:devel:tools:building

Resolves build errors when the cmake_minimum_required() is not set in the CMakeLists.txt.

OBS-URL: https://build.opensuse.org/request/show/327809
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=225
This commit is contained in:
Hrvoje Senjan
2015-08-28 21:03:25 +00:00
committed by Git OBS Bridge
parent 2b638e4513
commit 86a9e08665
3 changed files with 49 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ Patch2: cmake-fix-ruby-test.patch
Patch4: form.patch
# PATCH-FIX-UPSTREAM system-libs.patch -- allow choosing between bundled and system jsoncpp & form libs
Patch5: system-libs.patch
# PATCH-FIX-UPSTREAM cmake-3.3.1-FindPkgConfig_remove_variable_dereference.patch - Resolve the issue when cmake:minimum_required is not set
Patch6: cmake-3.3.1-FindPkgConfig_remove_variable_dereference.patch
BuildRequires: curl-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -67,6 +69,7 @@ echo "`grep %{name}-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOU
%patch2 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
export CXXFLAGS="%{optflags}"