summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2022-09-16 19:29:35 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2022-09-16 19:29:35 (GMT)
commit30a234d275be3947a14e5e109f66b83877730e23 (patch)
tree479c77084f5bfa319e5e4422bcfbed21354fca53 /Tests/RunCMake/try_compile
parent343685869716b2ac31876d3e4173ece46ea49efc (diff)
downloadCMake-30a234d275be3947a14e5e109f66b83877730e23.zip
CMake-30a234d275be3947a14e5e109f66b83877730e23.tar.gz
CMake-30a234d275be3947a14e5e109f66b83877730e23.tar.bz2
try_compile: Improve error message consistency
Tweak some error messages from try_compile (and try_run) to be more consistent with each other.
Diffstat (limited to 'Tests/RunCMake/try_compile')
-rw-r--r--Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt2
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\)