summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 12:53:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 12:53:41 +0000
commit1a479b15f9cb91baa18bec07b00bfbdc9ad0ab4d (patch)
tree491cf677f33c442bb679b3e80fa8d4abdf32ddb1
parente0107920df92f9be9361b1cb6efc52af06e96e13 (diff)
automatic import of gdal
-rw-r--r--gdal.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdal.spec b/gdal.spec
index 055f170..7349d49 100644
--- a/gdal.spec
+++ b/gdal.spec
@@ -378,8 +378,7 @@ cp -a %{SOURCE4} .
%build
-mkdir build && cd build
-%cmake \
+%cmake -B "%{_vpath_builddir}" \
-DCMAKE_INSTALL_INCLUDEDIR=include/gdal \
-DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \
-DGDAL_USE_JPEG12_INTERNAL=OFF \