Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
d4d6fbac
Commit
d4d6fbac
authored
Aug 30, 2016
by
Rashad Kanavath
Browse files
COMP: allow variables to have OFF depending on ENABLE_MONTEVERDI
parent
cefdc783
Changes
1
Hide whitespace changes
Inline
Side-by-side
SuperBuild/CMakeLists.txt
View file @
d4d6fbac
...
...
@@ -214,11 +214,11 @@ option(OTB_USE_OPENGL "Enable module OpenGL in OTB" OFF)
option
(
OTB_USE_GLEW
"Enable module GLEW in OTB"
OFF
)
option
(
OTB_USE_GLFW
"Enable module GLFW in OTB"
OFF
)
option
(
OTB_USE_GLUT
"Enable module GLUT in OTB"
OFF
)
option
(
OTB_USE_QWT
"Enable module QWT in OTB"
OFF
)
if
(
${
ENABLE_MONTEVERDI
}
)
set
(
OTB_USE_OPENGL ON
)
set
(
OTB_USE_GLEW ON
)
endif
()
set
(
OTB_USE_OPENGL
${
ENABLE_MONTEVERDI
}
)
set
(
OTB_USE_GLEW
${
ENABLE_MONTEVERDI
}
)
set
(
OTB_USE_QWT
${
ENABLE_MONTEVERDI
}
)
# set OTB_DATA_ROOT to run test
find_path
(
OTB_DATA_ROOT README-OTB-Data PATHS $ENV{OTB_DATA_ROOT}
${
OTB-SuperBuild_SOURCE_DIR
}
/../../OTB-Data
)
...
...
@@ -257,12 +257,8 @@ foreach(lib ${_SYSTEM_CHECKUP_CONTENT})
message
(
STATUS
"|----------------------------------------------------------"
)
endforeach
()
# Main external projet : dependencies are included (if needed) in each external project
if
(
ENABLE_MONTEVERDI
)
include
(
External_mvd
)
else
()
include
(
External_otb
)
endif
()
include
(
External_otb
)
if
(
UNIX OR MSVC
)
add_subdirectory
(
Packaging
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment