Skip to content
Snippets Groups Projects
Commit 77d4db8d authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

COMP: on win platform, desactivate use of FFTW for internal ITK

on win platform, ITK cannot configure internal FFTW and OSGeo4W one is not compatible
parent 4c08c335
No related branches found
No related tags found
No related merge requests found
...@@ -101,10 +101,15 @@ if(NOT OTB_USE_EXTERNAL_ITK) ...@@ -101,10 +101,15 @@ if(NOT OTB_USE_EXTERNAL_ITK)
# By default activate FFTW, but with an external fftw build # By default activate FFTW, but with an external fftw build
# These variables are used in ITK to initialize the value of the ITK_USE_FFTW_XXX options # These variables are used in ITK to initialize the value of the ITK_USE_FFTW_XXX options
set(USE_FFTWF ON) if (WIN32)
set(USE_FFTWD ON) set(USE_FFTWF OFF)
set(USE_SYSTEM_FFTW ON) set(USE_FFTWD OFF)
set(USE_SYSTEM_FFTW OFF)
else
set(USE_FFTWF ON)
set(USE_FFTWD ON)
set(USE_SYSTEM_FFTW ON)
endif
set(ITK_INSTALL_RUNTIME_DIR ${OTB_INSTALL_BIN_DIR}) set(ITK_INSTALL_RUNTIME_DIR ${OTB_INSTALL_BIN_DIR})
set(ITK_INSTALL_LIBRARY_DIR ${OTB_INSTALL_LIB_DIR}) set(ITK_INSTALL_LIBRARY_DIR ${OTB_INSTALL_LIB_DIR})
set(ITK_INSTALL_ARCHIVE_DIR ${OTB_INSTALL_LIB_DIR}) set(ITK_INSTALL_ARCHIVE_DIR ${OTB_INSTALL_LIB_DIR})
......
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