diff options
author | Brad King <brad.king@kitware.com> | 2022-09-20 12:54:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-09-20 12:54:22 (GMT) |
commit | b15ddc766c1ff98465e31302cacc198426be9bd9 (patch) | |
tree | bf2a6766a65936215e4f791605d79f32afe09950 /Tests/RunCMake/try_compile | |
parent | 245f6ad0f3ce571616c4a824dbd374c14a7949c6 (diff) | |
parent | 30a234d275be3947a14e5e109f66b83877730e23 (diff) | |
download | CMake-b15ddc766c1ff98465e31302cacc198426be9bd9.zip CMake-b15ddc766c1ff98465e31302cacc198426be9bd9.tar.gz CMake-b15ddc766c1ff98465e31302cacc198426be9bd9.tar.bz2 |
Merge topic 'try_compile-more-consistent-errors'
30a234d275 try_compile: Improve error message consistency
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7696
Diffstat (limited to 'Tests/RunCMake/try_compile')
-rw-r--r-- | Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt b/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt index 3e48411..dcd5c7a 100644 --- a/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt +++ b/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt @@ -1,4 +1,4 @@ CMake Error at NonSourceCompileDefinitions.cmake:[0-9]+ \(try_compile\): - COMPILE_DEFINITIONS specified on a srcdir type TRY_COMPILE + COMPILE_DEFINITIONS allowed only in source file signature Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt b/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt index 7de8c92..1b7dfeb 100644 --- a/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt +++ b/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt @@ -1,4 +1,4 @@ CMake Error at NonSourceCopyFile.cmake:[0-9]+ \(try_compile\): - COPY_FILE specified on a srcdir type TRY_COMPILE + COPY_FILE allowed only in source file signature Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\) |