Dirk Stoecker 2008-09-04 07:38:13 +00:00 committed by Git OBS Bridge
parent d5d2b95411
commit d8fb4656c6

View File

@ -75,16 +75,20 @@ export PATH=$PATH:$QTDIR/bin
%define lib lib
%endif
cmake -Wno-dev \
%if 0%{?suse_version} <= 1030
%define intsq -D WITH_INTERNAL_SQLITE3=TRUE \
-D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3
%else
%define intsq
%endif
cmake -Wno-dev %{intsq} \
-D CMAKE_INSTALL_PREFIX=%{_prefix} \
-D GRASS_PREFIX=/opt/grass\
-D QGIS_LIB_SUBDIR=%{lib} \
-D WITH_BINDINGS=TRUE \
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
%if 0%{?suse_version} <= 1030 || 0%{?sles_version} == 10
-D WITH_INTERNAL_SQLITE3=TRUE \
-D SQLITE3_INCLUDE_DIR=%{buildroot}/src/core/sqlite3 \
%endif
-D QGIS_MANUAL_SUBDIR=share/man
#echo "for 'make' run first:"