diff options
author | Alexander Boczar <alexboc@microsoft.com> | 2019-09-16 23:55:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-17 14:19:01 (GMT) |
commit | e7d57bc3c35e7c47746caf91591ef748b9ce3012 (patch) | |
tree | 88861dcd398645692633d8b1ebca4109a7e60b3a /Source | |
parent | 45b4b4b93076e16281ecee628ef8ffb0aae8f3d6 (diff) | |
download | CMake-e7d57bc3c35e7c47746caf91591ef748b9ce3012.zip CMake-e7d57bc3c35e7c47746caf91591ef748b9ce3012.tar.gz CMake-e7d57bc3c35e7c47746caf91591ef748b9ce3012.tar.bz2 |
VS: Propagate CMAKE_VS_GLOBALS into custom targets
Issue: #19708
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 99c16f2..a4f904b 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -511,8 +511,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, initProp("DOTNET_TARGET_FRAMEWORK_VERSION"); } - if (this->GetType() != cmStateEnums::INTERFACE_LIBRARY && - this->GetType() != cmStateEnums::UTILITY) { + if (this->GetType() != cmStateEnums::INTERFACE_LIBRARY) { // check for "CMAKE_VS_GLOBALS" variable and set up target properties // if any |