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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
254f28da
Commit
254f28da
authored
13 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: more internal cmake vars marked as advanced
parent
d6cd7bd8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMake/ImportGdal.cmake
+2
-0
2 additions, 0 deletions
CMake/ImportGdal.cmake
CMake/ImportGetText.cmake
+5
-0
5 additions, 0 deletions
CMake/ImportGetText.cmake
with
7 additions
and
0 deletions
CMake/ImportGdal.cmake
+
2
−
0
View file @
254f28da
...
...
@@ -146,6 +146,7 @@ IF(OTB_USE_EXTERNAL_GDAL)
ELSE
(
GDAL_HAS_JPEG
)
MESSAGE
(
STATUS
" Testing if GDAL has jpeg -- no"
)
FIND_LIBRARY
(
JPEG_LIBRARY NAMES jpeg jpeg_i PATHS
${
OSGEO4W_LIB
}
)
MARK_AS_ADVANCED
(
JPEG_LIBRARY
)
IF
(
NOT JPEG_LIBRARY
)
MESSAGE
(
FATAL_ERROR
"Cannot find jpeg library. Please set JPEG_LIBRARY."
)
...
...
@@ -165,6 +166,7 @@ IF(OTB_USE_EXTERNAL_GDAL)
MESSAGE
(
STATUS
" Testing if GDAL has OGR -- no"
)
MESSAGE
(
FATAL_ERROR
"OGR MESSAGE:
${
OUTPUT
}
"
)
FIND_LIBRARY
(
OGR_LIBRARY ogr PATHS
)
MARK_AS_ADVANCED
(
OGR_LIBRARY
)
IF
(
NOT OGR_LIBRARY
)
MESSAGE
(
FATAL_ERROR
"Cannot find ogr library. Please set OGR_LIBRARY."
)
...
...
This diff is collapsed.
Click to expand it.
CMake/ImportGetText.cmake
+
5
−
0
View file @
254f28da
...
...
@@ -6,10 +6,15 @@ MARK_AS_ADVANCED(OTB_USE_GETTEXT)
IF
(
OTB_USE_GETTEXT
)
FIND_PACKAGE
(
Gettext
)
MARK_AS_ADVANCED
(
GETTEXT_MSGMERGE_EXECUTABLE
)
MARK_AS_ADVANCED
(
GETTEXT_MSGFMT_EXECUTABLE
)
IF
(
GETTEXT_FOUND
)
FIND_LIBRARY
(
GETTEXT_LIBRARY gettextlib DOC
"GetText library"
)
MARK_AS_ADVANCED
(
GETTEXT_LIBRARY
)
IF
(
APPLE OR WIN32
)
FIND_LIBRARY
(
GETTEXT_INTL_LIBRARY intl DOC
"GetText intl library"
)
MARK_AS_ADVANCED
(
GETTEXT_INTL_LIBRARY
)
ENDIF
(
APPLE OR WIN32
)
IF
(
GETTEXT_LIBRARY
)
...
...
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