Commit 213c0825 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Ajout de l'option OTB_USE_PATENTED pour compiler ou non les exemples patented.

parent 0ee09d79
......@@ -254,6 +254,12 @@ IF( OTB_SHOW_ALL_MSG_DEBUG )
ENDIF( OTB_SHOW_ALL_MSG_DEBUG )
#-----------------------------------------------------------------------------
# Option for generate Patented examples !!!
OPTION(OTB_USE_PATENTED "Build patented examples. ITK must be genereted whith patented option (ITK_USE_PATENTED = ON)." OFF)
MARK_AS_ADVANCED(OTB_USE_PATENTED)
IF(WIN32)
IF(BUILD_SHARED_LIBS)
SET(OTB_COMMON_BUILD_TYPE "SHARED")
......
......@@ -6,7 +6,6 @@ SUBDIRS(
DataRepresentation
IO
Filtering
Patented
ChangeDetection
Visu
Learning
......@@ -14,3 +13,8 @@ SUBDIRS(
Segmentation
Iterators
)
IF(OTB_USE_PATENTED)
SUBDIRS( Patented )
ENDIF(OTB_USE_PATENTED)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment