summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-08 12:02:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-08 12:03:04 (GMT)
commit019ff154b95df3c31d45e520f0973cb4bb701b92 (patch)
treee95911c6e5fd550037a2cabd84ce0c6b517fa733 /Source
parent45ecea430bfa6969647233f444ca31f386dabc55 (diff)
parent3fd07d30bfdb35fa1f807d58da7bcf18cfb037b2 (diff)
downloadCMake-019ff154b95df3c31d45e520f0973cb4bb701b92.zip
CMake-019ff154b95df3c31d45e520f0973cb4bb701b92.tar.gz
CMake-019ff154b95df3c31d45e520f0973cb4bb701b92.tar.bz2
Merge topic 'vs-add_package_reference_install' into release-3.18
3fd07d30bf VS: Enable DOTNET_TARGET_FRAMEWORK properties all target types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4854
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4bb48fb..36e1ad5 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -533,7 +533,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
initProp("JOB_POOL_PRECOMPILE_HEADER");
}
- if (impl->TargetType <= cmStateEnums::UTILITY) {
+ if (impl->TargetType <= cmStateEnums::GLOBAL_TARGET) {
initProp("DOTNET_TARGET_FRAMEWORK");
initProp("DOTNET_TARGET_FRAMEWORK_VERSION");
}