Skip to content
Snippets Groups Projects
Commit 204b2ce0 authored by Julien Michel's avatar Julien Michel
Browse files

Option OSSIM en advanced.

Switch pour le test d'ossim.
parent 2cbaeb37
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,10 @@ MAKE_DIRECTORY(${OTBTesting_BINARY_DIR}/Temporary)
IF(OTB_BINARY_DIR)
# We are building inside the tree.
SUBDIRS(Code Fa Utilities)
SUBDIRS(Code Fa)
IF(OTB_OSSIM_COMPILATION)
SUBDIRS(Utilities)
ENDIF(OTB_OSSIM_COMPILATION)
ELSE(OTB_BINARY_DIR)
# We are building as a stand-alone project.
SET(LIBRARY_OUTPUT_PATH ${OTBTesting_BINARY_DIR}/bin CACHE PATH "Single output directory for building all libraries.")
......@@ -36,7 +38,10 @@ ELSE(OTB_BINARY_DIR)
FIND_PACKAGE(OTB)
IF(OTB_FOUND)
INCLUDE(${OTB_USE_FILE})
SUBDIRS(Code Fa Utilities)
SUBDIRS(Code Fa)
IF(OTB_OSSIM_COMPILATION)
SUBDIRS(Utilities)
ENDIF(OTB_OSSIM_COMPILATION)
ELSE(OTB_FOUND)
MESSAGE("OTB not found. Please set OTB_DIR")
ENDIF(OTB_FOUND)
......
......@@ -7,6 +7,7 @@ ENDIF(NOT OTB_USE_EXTERNAL_ITK)
SUBDIRS( BGL otbsvm)
OPTION(OTB_OSSIM_COMPILATION "EXPERIMENTAL: Compile OSSIM library embedded within OTB" OFF)
MARK_AS_ADVANCED(OTB_OSSIM_COMPILATION)
IF(OTB_OSSIM_COMPILATION)
SUBDIRS(OSSIM)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment