summaryrefslogtreecommitdiffstats
path: root/Modules/FeatureSummary.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-09-21 20:27:14 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-09-21 20:27:14 (GMT)
commitd5b29155b47935c230b0f949c6fb0e0962173395 (patch)
tree28331f74ab4216e7b49780aed283c866c312803d /Modules/FeatureSummary.cmake
parent5970c0f947ecc94ec4b1c0ca1d7e90d80124647c (diff)
downloadCMake-d5b29155b47935c230b0f949c6fb0e0962173395.zip
CMake-d5b29155b47935c230b0f949c6fb0e0962173395.tar.gz
CMake-d5b29155b47935c230b0f949c6fb0e0962173395.tar.bz2
APPEND and not-APPEND mode of feature_summary() were swapped
Alex
Diffstat (limited to 'Modules/FeatureSummary.cmake')
-rw-r--r--Modules/FeatureSummary.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index 594e2e7..78788f4 100644
--- a/Modules/FeatureSummary.cmake
+++ b/Modules/FeatureSummary.cmake
@@ -211,9 +211,9 @@ FUNCTION(FEATURE_SUMMARY)
IF(_FS_FILENAME)
IF(_FS_APPEND)
- FILE(WRITE "${_FS_FILENAME}" "${_fullText}")
- ELSE(_FS_APPEND)
FILE(APPEND "${_FS_FILENAME}" "${_fullText}")
+ ELSE(_FS_APPEND)
+ FILE(WRITE "${_FS_FILENAME}" "${_fullText}")
ENDIF(_FS_APPEND)
ELSE(_FS_FILENAME)