Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95761f7e2a | ||
|
|
520dbb1abb | ||
|
|
c21718030a |
1 changed files with 4 additions and 1 deletions
|
|
@ -45,11 +45,14 @@ This package contains development headers and libraries for votca-tools.
|
|||
|
||||
%prep
|
||||
%setup -qn tools-%{version}%{?_rc}
|
||||
%if 0%{?rhel}
|
||||
sed -i '/Boost/s/1.57.0/1.53.0/' CMakeLists.txt src/tests/CMakeLists.txt
|
||||
%endif
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake} .. -DCMAKE_BUILD_TYPE=Release -DWITH_RC_FILES=OFF -DENABLE_TESTING=ON
|
||||
%{cmake3} .. -DCMAKE_BUILD_TYPE=Release -DWITH_RC_FILES=OFF -DENABLE_TESTING=ON
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue