diff options
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 5d67d60..7d4b497 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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: |