diff options
author | Volker Weißmann <volker.weissmann@gmx.de> | 2022-06-30 16:11:39 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-07-18 13:46:26 +0200 |
commit | 5f3c7125cc4f9dadd084dee3be5fd84458ae74c8 (patch) | |
tree | 211fe78353697ba856fe6fc30fdd255ebd687572 /mesonbuild/cmake/generator.py | |
parent | cdd2dca17491dddafbed1225b2d6471f4eab0535 (diff) | |
download | meson-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.py | 2 |
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] |