diff options
author | Alex Neundorf <neundorf@kde.org> | 2013-01-24 20:18:47 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2013-01-24 20:18:47 (GMT) |
commit | 37c4bc1f86a72a76a1ccc3094ba7cc3ec134ff21 (patch) | |
tree | 17185de71e8fab4bf9007a4cad21c4003ac87d22 /Modules/CMakePackageConfigHelpers.cmake | |
parent | d4774140b7fa8685a9f29147308fd7fe5365e1fb (diff) | |
download | CMake-37c4bc1f86a72a76a1ccc3094ba7cc3ec134ff21.zip CMake-37c4bc1f86a72a76a1ccc3094ba7cc3ec134ff21.tar.gz CMake-37c4bc1f86a72a76a1ccc3094ba7cc3ec134ff21.tar.bz2 |
configure_package_config_file(): fix indentation
This is a separate commit, so that the previous commit is smaller.
Alex
Diffstat (limited to 'Modules/CMakePackageConfigHelpers.cmake')
-rw-r--r-- | Modules/CMakePackageConfigHelpers.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake index 13617ce..d6d3cb1 100644 --- a/Modules/CMakePackageConfigHelpers.cmake +++ b/Modules/CMakePackageConfigHelpers.cmake @@ -194,12 +194,12 @@ function(CONFIGURE_PACKAGE_CONFIG_FILE _inputFile _outputFile) set(PACKAGE_${var} "${CMAKE_INSTALL_PREFIX}/${${var}}") endif() else() - if(IS_ABSOLUTE "${${var}}") - string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${PACKAGE_PREFIX_DIR}" - PACKAGE_${var} "${${var}}") - else() - set(PACKAGE_${var} "\${PACKAGE_PREFIX_DIR}/${${var}}") - endif() + if(IS_ABSOLUTE "${${var}}") + string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${PACKAGE_PREFIX_DIR}" + PACKAGE_${var} "${${var}}") + else() + set(PACKAGE_${var} "\${PACKAGE_PREFIX_DIR}/${${var}}") + endif() endif() endif() endforeach() |