Skip to content
Snippets Groups Projects
Commit 9b896a88 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

ENH: Build examples if a dependent module is available.

Earlier one needs all otb modules to build examples. This single commit
activate an example and its related test if and only if all of its
dependent module is activated. The check for a module is done using
<Module>_LOADED cmake variable. With this change, activating
BUILD_EXAMPLES=ON works flawlessly irrespective of your build configuration.
parent 5512ff90
Branches
Tags
No related merge requests found
Showing
with 79 additions and 61 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment