diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-06-05 10:34:16 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-06-05 11:58:27 (GMT) |
commit | 567af1a596455b096c9261317b1562ceb89f2e95 (patch) | |
tree | eeae400c6c7947941342fedab7a4d3130926faf9 /Tests | |
parent | 2336ec514080014430589166287e076c7e5608d8 (diff) | |
download | CMake-567af1a596455b096c9261317b1562ceb89f2e95.zip CMake-567af1a596455b096c9261317b1562ceb89f2e95.tar.gz CMake-567af1a596455b096c9261317b1562ceb89f2e95.tar.bz2 |
WCDH: Issue a better message for version compatibility.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/WriteCompilerDetectionHeader/OldVersion-stderr.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/WriteCompilerDetectionHeader/OldVersion-stderr.txt b/Tests/RunCMake/WriteCompilerDetectionHeader/OldVersion-stderr.txt index 842eb3f..8d4db34 100644 --- a/Tests/RunCMake/WriteCompilerDetectionHeader/OldVersion-stderr.txt +++ b/Tests/RunCMake/WriteCompilerDetectionHeader/OldVersion-stderr.txt @@ -1,5 +1,9 @@ CMake Error at .*Modules/WriteCompilerDetectionHeader.cmake:[0-9]+ \(message\): - VERSION parameter too low. + VERSION compatibility for write_compiler_detection_header is set to 3.0, + which is too low. It must be set to at least 3.1.0. Either set the + VERSION parameter to the write_compiler_detection_header function, or + update your minimum required CMake version with the cmake_minimum_required + command. Call Stack \(most recent call first\): OldVersion.cmake:4 \(write_compiler_detection_header\) CMakeLists.txt:3 \(include\) |