diff --git a/CMake/otbGenerateOTBConfig.cmake b/CMake/otbGenerateOTBConfig.cmake index d9e3ff75d4f485d126f9859498fa3e01ff6f0762..70dde97c98d8bc89543616da4f1ea1e02c54b61d 100644 --- a/CMake/otbGenerateOTBConfig.cmake +++ b/CMake/otbGenerateOTBConfig.cmake @@ -80,7 +80,7 @@ SET(OTB_BINARY_DIRS_CONFIG "\${OTB_INSTALL_PREFIX}/${OTB_INSTALL_BIN_DIR}") STRING(REGEX REPLACE "/" ";" OTB_INSTALL_PACKAGE_DIR_COUNT "${OTB_INSTALL_PACKAGE_DIR}") SET(OTB_CONFIG_CODE " -# Compute the installation prefix from this ITKConfig.cmake file location. +# Compute the installation prefix from this OTBConfig.cmake file location. GET_FILENAME_COMPONENT(OTB_INSTALL_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)") FOREACH(p ${OTB_INSTALL_PACKAGE_DIR_COUNT}) SET(OTB_CONFIG_CODE