mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05:00
cmTarget: report that synthetic targets can compile sources
This commit is contained in:
@@ -2713,6 +2713,9 @@ bool cmTarget::CanCompileSources() const
|
||||
if (this->IsImported()) {
|
||||
return false;
|
||||
}
|
||||
if (this->IsSynthetic()) {
|
||||
return true;
|
||||
}
|
||||
switch (this->GetType()) {
|
||||
case cmStateEnums::EXECUTABLE:
|
||||
case cmStateEnums::STATIC_LIBRARY:
|
||||
|
||||
Reference in New Issue
Block a user