Skip to content
Snippets Groups Projects
Commit b2854cb9 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH: OTB librairies build with the same shared/static options as external ITK

parent 0f45509c
No related branches found
No related tags found
No related merge requests found
......@@ -213,6 +213,9 @@ IF(OTB_USE_EXTERNAL_ITK)
MESSAGE(FATAL_ERROR
"Cannot build OTB project without ITK. Please set ITK_DIR or set OTB_USE_EXTERNAL_ITK OFF to use INTERNAL ITK set on OTB/Utilities repository.")
ENDIF(ITK_FOUND)
#Build shared libraries for otb
#By default, if otb use an external itk import the option from the ITK configuration
SET(BUILD_SHARED_LIBS ${ITK_BUILD_SHARED})
ELSE(OTB_USE_EXTERNAL_ITK)
# Required to have proper itk headers at first run
SET(ITK_SOURCE_DIR ${OTB_SOURCE_DIR}/Utilities/ITK)
......
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