Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
ea097dae
Commit
ea097dae
authored
Dec 14, 2009
by
Emmanuel Christophe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: fix default option for FLTK
parent
2ff0eee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
CMakeLists.txt
CMakeLists.txt
+12
-6
No files found.
CMakeLists.txt
View file @
ea097dae
...
...
@@ -15,6 +15,7 @@ SET(CMAKE_MODULE_PATH
INCLUDE_REGULAR_EXPRESSION
(
"^(otb|itk|vtk|vnl|vcl|vxl|f2c|netlib|ce|itpack|DICOM|meta|png|dbh|tif|jpeg|zlib).*$"
)
SOURCE_GROUP
(
"XML Files"
REGULAR_EXPRESSION
"[.]xml$"
)
INCLUDE
(
CMakeDependentOption
)
# On Visual Studio 8 MS deprecated C. This removes all 1.276E1265 security
# warnings
...
...
@@ -286,13 +287,18 @@ IF(OTB_USE_VISU_GUI)
#-------------------------------
# FLTK Library
#-------------------------------
OPTION
(
OTB_USE_EXTERNAL_FLTK
"Use an outside build of FLTK."
OFF
)
#OPTION(OTB_USE_EXTERNAL_FLTK "Use an outside build of FLTK." OFF)
FIND_PACKAGE
(
FLTK
)
IF
(
FLTK_FOUND
)
SET
(
OTB_USE_EXTERNAL_FLTK ON
)
ELSE
(
FLTK_FOUND
)
SET
(
OTB_USE_EXTERNAL_FLTK OFF
)
ENDIF
(
FLTK_FOUND
)
CMAKE_DEPENDENT_OPTION
(
OTB_USE_EXTERNAL_FLTK
"Use an outside build of FLTK."
ON
"FLTK_FOUND"
OFF
)
# IF(FLTK_FOUND)
# SET(OTB_USE_EXTERNAL_FLTK ON)
# ELSE(FLTK_FOUND)
# SET(OTB_USE_EXTERNAL_FLTK OFF)
# ENDIF(FLTK_FOUND)
# Option for internal/external FLTK
MARK_AS_ADVANCED
(
OTB_USE_EXTERNAL_FLTK
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment