mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
{get,set}_property: Add support for referencing binary directories
Index directories by their binary directory path in addition to their source directory path. Fixes: #19262
This commit is contained in:
@@ -113,7 +113,7 @@ bool HandleSourceFileDirectoryScopes(
|
||||
"given non-existent target for TARGET_DIRECTORY ", target_name));
|
||||
return false;
|
||||
}
|
||||
cmProp target_source_dir = target->GetProperty("SOURCE_DIR");
|
||||
cmProp target_source_dir = target->GetProperty("BINARY_DIR");
|
||||
cmMakefile* target_dir_mf =
|
||||
status.GetMakefile().GetGlobalGenerator()->FindMakefile(
|
||||
*target_source_dir);
|
||||
|
||||
Reference in New Issue
Block a user