Corrected BRs and include dir.

This commit is contained in:
Vasiliy Glazov 2018-02-19 15:09:23 +03:00
parent 62b0b185dd
commit bc5cd13cc3
1 changed files with 4 additions and 4 deletions

View File

@ -11,9 +11,9 @@ Source0: https://github.com/rakhimov/scram/archive/%{version}.tar.gz
Source1: %{name}.1
BuildRequires: gcc-c++
BuildRequires: cmake >= 2.8.12
BuildRequires: boost-devel >= 1.58.0
BuildRequires: libxml++-devel >= 2.38.1
BuildRequires: cmake >= 3.8.0
BuildRequires: boost-devel >= 1.61.0
BuildRequires: libxml2-devel
BuildRequires: gperftools-devel
BuildRequires: catch-devel
BuildRequires: cmake(Qt5)
@ -38,11 +38,11 @@ scram GUI.
%prep
%autosetup
find tests -type f -exec sed -i 's|catch.hpp|catch/catch.hpp|' {} \;
%build
mkdir build
pushd build
export CXXFLAGS="%{__global_compiler_flags} -I/usr/include/catch"
%cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_TESTING=ON