Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Belvire
otb
Commits
c2928dde
Commit
c2928dde
authored
10 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
ENH: superbuild: use geos-config for GDAL
parent
30b50ba8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SuperBuild/CMake/External_gdal.cmake
+5
-1
5 additions, 1 deletion
SuperBuild/CMake/External_gdal.cmake
SuperBuild/CMake/SuperBuild_Macro.cmake
+4
-2
4 additions, 2 deletions
SuperBuild/CMake/SuperBuild_Macro.cmake
with
9 additions
and
3 deletions
SuperBuild/CMake/External_gdal.cmake
+
5
−
1
View file @
c2928dde
...
...
@@ -25,11 +25,15 @@ else()
ADD_SUPERBUILD_CONFIGURE_VAR
(
JPEG_SB_ROOT --with-jpeg
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
OPENJPEG_SB_ROOT --with-openjpeg
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
SQLITE_SB_ROOT --with-sqlite3
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
GEOS_SB_ROOT --with-geos
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
ZLIB_SB_ROOT --with-libz
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
EXPAT_SB_ROOT --with-expat
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
LIBKML_SB_ROOT --with-libkml
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
CURL_SB_ROOT --with-curl
)
if
(
MSVC
)
ADD_SUPERBUILD_CONFIGURE_VAR
(
GEOS_SB_ROOT --with-geos
)
else
()
ADD_SUPERBUILD_CONFIGURE_VAR
(
GEOS_SB_ROOT --with-geos
"/bin/geos-config"
)
endif
()
#if(USE_SYSTEM_TIFF)
# if(NOT SYSTEM_TIFF_PREFIX STREQUAL "")
...
...
This diff is collapsed.
Click to expand it.
SuperBuild/CMake/SuperBuild_Macro.cmake
+
4
−
2
View file @
c2928dde
...
...
@@ -87,14 +87,16 @@ macro(ADD_SUPERBUILD_CMAKE_VAR var)
endmacro
(
ADD_SUPERBUILD_CMAKE_VAR
)
# Macro to add a configure variable to ${proj}_SB_CONFIG
# optional 3rd argument : suffix to the variable
macro
(
ADD_SUPERBUILD_CONFIGURE_VAR var name
)
set
(
suffix
"
${
ARGV2
}
"
)
if
(
DEFINED _SB_
${
var
}
)
list
(
APPEND
${
proj
}
_SB_CONFIG
${
name
}
=
${
_SB_
${
var
}}
${
name
}
=
${
_SB_
${
var
}}
${
suffix
}
)
elseif
(
DEFINED
${
var
}
)
list
(
APPEND
${
proj
}
_SB_CONFIG
${
name
}
=
${${
var
}}
${
name
}
=
${${
var
}}
${
suffix
}
)
endif
()
endmacro
(
ADD_SUPERBUILD_CONFIGURE_VAR
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment