Skip to content

target_sources: Fix backtrace on missing source

Brad King requested to merge brad.king/cmake:target_sources-backtrace into master

If a source file is not found, the error message reports a backtrace. Previously the backtrace pointed at where the target was created. In the case of target_sources, the missing source may have been named elsewhere.

Fixes: #24538 (closed)

Merge request reports

Loading