/usr/lib/cmake/ITK-4.5/ITKConfig.cmake is in libinsighttoolkit4-dev 4.5.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | #-----------------------------------------------------------------------------
#
# ITKConfig.cmake - ITK CMake configuration file for external projects.
#
# This file is configured by ITK and used by the UseITK.cmake module
# to load ITK's settings for an external project.
# Compute the installation prefix from this ITKConfig.cmake file location.
get_filename_component(ITK_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(ITK_INSTALL_PREFIX "${ITK_INSTALL_PREFIX}" PATH)
get_filename_component(ITK_INSTALL_PREFIX "${ITK_INSTALL_PREFIX}" PATH)
get_filename_component(ITK_INSTALL_PREFIX "${ITK_INSTALL_PREFIX}" PATH)
set(ITK_MODULES_DIR "${ITK_INSTALL_PREFIX}/lib/cmake/ITK-4.5/Modules")
# The C and C++ flags added by ITK to the cmake-configured flags.
set(ITK_REQUIRED_C_FLAGS "")
set(ITK_REQUIRED_CXX_FLAGS " -Wno-array-bounds")
set(ITK_REQUIRED_LINK_FLAGS "")
# The ITK version number
set(ITK_VERSION_MAJOR "4")
set(ITK_VERSION_MINOR "5")
set(ITK_VERSION_PATCH "0")
# If ITK was built with version 3 compatibility features.
set(ITKV3_COMPATIBILITY "OFF")
# Remove all legacy code completely.
set(ITK_LEGACY_REMOVE "OFF")
# Silence all legacy code messages.
set(ITK_LEGACY_SILENT "OFF")
# Remove code that will become legacy in future releases completely.
set(ITK_FUTURE_LEGACY_REMOVE "0")
# The location of the UseITK.cmake file.
set(ITK_USE_FILE "${ITK_INSTALL_PREFIX}/lib/cmake/ITK-4.5/UseITK.cmake")
# Whether ITK was built with shared libraries.
set(ITK_BUILD_SHARED "ON")
# List of available ITK modules.
set(ITK_MODULES_ENABLED "ITKDoubleConversion;ITKKWSys;ITKVNL;ITKVNLInstantiation;ITKCommon;ITKFiniteDifference;ITKImageFilterBase;ITKCurvatureFlow;ITKImageAdaptors;ITKNetlib;ITKStatistics;ITKTransform;ITKImageFunction;ITKImageGrid;ITKAnisotropicSmoothing;ITKIOImageBase;ITKIOBMP;ITKIOBioRad;ITKGDCM;ITKIOGDCM;ITKZLIB;ITKIOGIPL;ITKJPEG;ITKIOJPEG;ITKTIFF;ITKIOTIFF;ITKIOLSM;ITKMetaIO;ITKIOMeta;ITKNIFTI;ITKIONIFTI;ITKNrrdIO;ITKIONRRD;ITKPNG;ITKIOPNG;ITKIOStimulate;ITKIOVTK;ITKTestKernel;ITKImageCompose;ITKMesh;ITKSpatialObjects;ITKImageStatistics;ITKPath;ITKImageIntensity;ITKImageLabel;ITKThresholding;ITKConnectedComponents;ITKMathematicalMorphology;ITKLabelMap;ITKBinaryMathematicalMorphology;ITKNarrowBand;ITKDistanceMap;ITKQuadEdgeMesh;ITKFastMarching;ITKImageCompare;ITKSmoothing;ITKImageGradient;ITKImageSources;ITKImageFeature;ITKOptimizers;ITKSignedDistanceFunction;ITKLevelSets;ITKAntiAlias;ITKPolynomials;ITKBiasCorrection;ITKBioCell;ITKClassifiers;ITKColormap;ITKFFT;ITKConvolution;ITKDCMTK;ITKDICOMParser;ITKDeconvolution;ITKDeformableMesh;ITKDenoising;ITKDiffusionTensorImage;ITKDisplacementField;ITKEigen;ITKExpat;ITKIOXML;ITKIOSpatialObjects;ITKRegistrationCommon;ITKFEM;ITKPDEDeformableRegistration;ITKFEMRegistration;ITKGIFTI;ITKIOMesh;ITKGPUCommon;ITKGPUFiniteDifference;ITKGPUAnisotropicSmoothing;ITKGPUImageFilterBase;ITKGPURegistrationCommon;ITKGPUPDEDeformableRegistration;ITKGPUSmoothing;ITKGPUThresholding;ITKHDF5;ITKIOCSV;ITKIOIPL;ITKIOGE;ITKIOSiemens;ITKIOHDF5;ITKIOMRC;ITKIORAW;ITKIOTransformBase;ITKIOTransformHDF5;ITKIOTransformInsightLegacy;ITKIOTransformMatlab;ITKImageFusion;ITKIntegratedTest;ITKKLMRegionGrowing;ITKLabelVoting;ITKMarkovRandomFieldsClassifiers;ITKNeuralNetworks;ITKQuadEdgeMeshFiltering;ITKRegionGrowing;ITKSpatialFunction;ITKVTK;ITKVoronoi;ITKWatersheds;ITKLevelSetsv4;ITKOptimizersv4;ITKMetricsv4;ITKOpenJPEG;ITKRegistrationMethodsv4;ITKReview;ITKVideoCore;ITKVideoIO;ITKVideoFiltering")
# Import ITK targets.
set(ITK_CONFIG_TARGETS_FILE "${ITK_INSTALL_PREFIX}/lib/cmake/ITK-4.5/ITKTargets.cmake")
if(NOT ITK_TARGETS_IMPORTED)
set(ITK_TARGETS_IMPORTED 1)
include("${ITK_CONFIG_TARGETS_FILE}")
endif()
# Load module interface macros.
include("${ITK_INSTALL_PREFIX}/lib/cmake/ITK-4.5/ITKModuleAPI.cmake")
# Compute set of requested modules.
if(ITK_FIND_COMPONENTS)
# Specific modules requested by find_package(ITK).
set(ITK_MODULES_REQUESTED "${ITK_FIND_COMPONENTS}")
elseif(NOT "${CMAKE_VERSION}" VERSION_GREATER 2.8.4.20110407)
# CMake 2.8.4 and lower do not forward the components list through
# their FindITK.cmake module, so unless the application called
#
# find_package(ITK NO_MODULE ...)
#
# then only the per-component variables ITK_FIND_REQUIRED_<mod> will
# have leaked through.
set(ITK_MODULES_REQUESTED "")
get_cmake_property(_vars VARIABLES)
foreach(v IN LISTS _vars)
if("x${v}" MATCHES "^xITK_FIND_REQUIRED_" AND ${v})
string(REGEX REPLACE "^ITK_FIND_REQUIRED_" "" _mod "${v}")
list(APPEND ITK_MODULES_REQUESTED ${_mod})
endif()
endforeach()
endif()
if(NOT ITK_MODULES_REQUESTED)
# No specific modules requested. Use all of them.
set(ITK_MODULES_REQUESTED "${ITK_MODULES_ENABLED}")
endif()
# Load requested modules and their dependencies into variables:
# ITK_LIBRARIES = Libraries to link
# ITK_INCLUDE_DIRS = Header file search path
# ITK_LIBRARY_DIRS = Library search path (for outside dependencies)
itk_module_config(ITK ${ITK_MODULES_REQUESTED})
# Add configuration with FFTW
set(ITK_USE_FFTWD "OFF")
set(ITK_USE_FFTWF "OFF")
set(ITK_USE_SYSTEM_FFTW "OFF")
set(ITK_FFTW_INCLUDE_PATH "${ITK_INSTALL_PREFIX}/include/ITK-4.5/Algorithms")
set(ITK_FFTW_LIBDIR "${ITK_INSTALL_PREFIX}/lib/ITK-4.5")
# Add FFTW include and library directories
if (ITK_USE_FFTWF OR ITK_USE_FFTWD)
set(ITK_INCLUDE_DIRS ${ITK_INCLUDE_DIRS} "${ITK_FFTW_INCLUDE_PATH}")
set(ITK_LIBRARY_DIRS ${ITK_LIBRARY_DIRS} "${ITK_FFTW_LIBDIR}")
endif()
|