Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUG: Fix FFTW install paths in ITKConfig.cmake (ITK-2995).

Change-Id: Ibf284cc918f3975de3ee8222dddb71a876aa6566
  • Loading branch information...
commit 95724b8557ea796aa5b01aa55f16b845e2b57e1c 1 parent aa8b737
@thewtex thewtex authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 CMakeLists.txt
View
5 CMakeLists.txt
@@ -613,6 +613,11 @@ set(ITK_USE_FILE "\${ITK_INSTALL_PREFIX}/${ITK_INSTALL_PACKAGE_DIR}/UseITK.cmake
set(ITK_CONFIG_TARGETS_CONDITION "")
set(ITK_CONFIG_TARGETS_FILE "\${ITK_INSTALL_PREFIX}/${ITK_INSTALL_PACKAGE_DIR}/ITKTargets.cmake")
set(ITK_CONFIG_MODULE_API_FILE "\${ITK_INSTALL_PREFIX}/${ITK_INSTALL_PACKAGE_DIR}/ITKModuleAPI.cmake")
+if(NOT ITK_USE_SYSTEM_FFTW)
+ # Location installed with the FFTW ExternalProject.
+ set(FFTW_LIBDIR "\${ITK_INSTALL_PREFIX}/lib/ITK-${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}")
+ set(FFTW_INCLUDE_PATH "\${ITK_INSTALL_PREFIX}/include/ITK-${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}/Algorithms")
+endif()
configure_file(CMake/ITKConfig.cmake.in CMakeFiles/ITKConfig.cmake @ONLY)
#----------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.