summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 13:11:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 13:11:27 +0000
commit30960414e808f033a4625eaae44d44e0f5b11f4b (patch)
tree2cfe7aa167fd31826d12b349b25855fb7b3abbdf
parent1a479b15f9cb91baa18bec07b00bfbdc9ad0ab4d (diff)
automatic import of gdal
-rw-r--r--gdal.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdal.spec b/gdal.spec
index 7349d49..a6f3594 100644
--- a/gdal.spec
+++ b/gdal.spec
@@ -378,12 +378,12 @@ cp -a %{SOURCE4} .
%build
-%cmake -B "%{_vpath_builddir}" \
+mkdir build
+%cmake -B build \
-DCMAKE_INSTALL_INCLUDEDIR=include/gdal \
-DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \
-DGDAL_USE_JPEG12_INTERNAL=OFF \
- -DENABLE_DEFLATE64=OFF \
- ..
+ -DENABLE_DEFLATE64=OFF
%cmake_build
%if %{with mingw}