fixed
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=56
This commit is contained in:
parent
d5d2b95411
commit
d8fb4656c6
14
qgis.spec
14
qgis.spec
@ -75,16 +75,20 @@ export PATH=$PATH:$QTDIR/bin
|
|||||||
%define lib lib
|
%define lib lib
|
||||||
%endif
|
%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 CMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
-D GRASS_PREFIX=/opt/grass\
|
-D GRASS_PREFIX=/opt/grass\
|
||||||
-D QGIS_LIB_SUBDIR=%{lib} \
|
-D QGIS_LIB_SUBDIR=%{lib} \
|
||||||
-D WITH_BINDINGS=TRUE \
|
-D WITH_BINDINGS=TRUE \
|
||||||
-D QGIS_PLUGIN_SUBDIR=%{lib}/qgis \
|
-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
|
-D QGIS_MANUAL_SUBDIR=share/man
|
||||||
|
|
||||||
#echo "for 'make' run first:"
|
#echo "for 'make' run first:"
|
||||||
|
Loading…
Reference in New Issue
Block a user