SHA256
1
0
forked from pool/hugin

Accepting request 186642 from graphics

- Fix build on factory with new cmake. (forwarded request 186638 from scarabeus_iv)

OBS-URL: https://build.opensuse.org/request/show/186642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=41
This commit is contained in:
Tomáš Chvátal 2013-08-12 12:22:47 +00:00 committed by Git OBS Bridge
commit ff3ee33336
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Aug 10 09:33:02 UTC 2013 - tchvatal@suse.com
- Fix build on factory with new cmake.
-------------------------------------------------------------------
Fri Jul 26 09:39:25 UTC 2013 - tchvatal@suse.com

View File

@ -103,7 +103,11 @@ export CFLAGS="%{optflags}"
export CXXFLAGS="$CFLAGS"
LIB_SUFFIX=%{_lib}
LIB_SUFFIX=${LIB_SUFFIX#lib}
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=$LIB_SUFFIX -DENABLE_LAPACK=ON BUILD_HSI=ON .
cmake \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=$LIB_SUFFIX \
-DENABLE_LAPACK=ON BUILD_HSI=ON \
.
# parallel make kills our workers
make VERBOSE=1 %{?_smp_mflags} -j1