aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake/generator.py
diff options
context:
space:
mode:
authorVolker Weißmann <volker.weissmann@gmx.de>2022-06-30 16:11:39 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2022-07-18 13:46:26 +0200
commit5f3c7125cc4f9dadd084dee3be5fd84458ae74c8 (patch)
tree211fe78353697ba856fe6fc30fdd255ebd687572 /mesonbuild/cmake/generator.py
parentcdd2dca17491dddafbed1225b2d6471f4eab0535 (diff)
downloadmeson-5f3c7125cc4f9dadd084dee3be5fd84458ae74c8.zip
meson-5f3c7125cc4f9dadd084dee3be5fd84458ae74c8.tar.gz
meson-5f3c7125cc4f9dadd084dee3be5fd84458ae74c8.tar.bz2
Applied tristan957's suggestions
Diffstat (limited to 'mesonbuild/cmake/generator.py')
-rw-r--r--mesonbuild/cmake/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/generator.py b/mesonbuild/cmake/generator.py
index f274bce..a4224cc 100644
--- a/mesonbuild/cmake/generator.py
+++ b/mesonbuild/cmake/generator.py
@@ -67,7 +67,7 @@ def parse_generator_expressions(
def target_file(arg: str) -> str:
if arg not in trace.targets:
- mlog.warning(f"Somewhere in your CMakeLists.txt you have '$<TARGET_FILE:{arg}>'. In cmake, this evaluates to the path to '{arg}'. If '{arg}' does not exist, cmake errors out. We think that '{arg}' does not exist, so we do not know its path and just return an empty string.")
+ mlog.warning(f"Unable to evaluate the cmake variable '$<TARGET_FILE:{arg}>'.")
return ''
tgt = trace.targets[arg]