# Generate the I2TKConfig.cmake file in the build tree. Also configure # one for installation. The file tells external projects how to use # I2TK. #----------------------------------------------------------------------------- # Settings specific to the build tree. # The "use" file. SET(I2TK_USE_FILE ${I2TK_BINARY_DIR}/UseI2TK.cmake) # Library directory. SET(I2TK_LIBRARY_DIRS_CONFIG ${I2TK_LIBRARY_PATH}) # Determine the include directories needed. SET(I2TK_INCLUDE_DIRS_CONFIG ${I2TK_INCLUDE_DIRS_BUILD_TREE} ${I2TK_INCLUDE_DIRS_SOURCE_TREE} ${I2TK_INCLUDE_DIRS_SYSTEM} ) #----------------------------------------------------------------------------- # Configure ITKConfig.cmake for the build tree. CONFIGURE_FILE(${I2TK_SOURCE_DIR}/I2TKConfig.cmake.in ${I2TK_BINARY_DIR}/I2TKConfig.cmake @ONLY IMMEDIATE)