summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-05-08 06:11:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-16 18:41:05 (GMT)
commitb6412e3e38ba22bf816445f19394e7c8027c186f (patch)
tree7227811201094f5ffd37ce57def6a6ef95449422 /Source/cmTarget.cxx
parent7d7f31161d65d8b1f460eaf23e1b092bdaf7c238 (diff)
downloadCMake-b6412e3e38ba22bf816445f19394e7c8027c186f.zip
CMake-b6412e3e38ba22bf816445f19394e7c8027c186f.tar.gz
CMake-b6412e3e38ba22bf816445f19394e7c8027c186f.tar.bz2
Ninja: add placeholders to support Swift build
Add the placeholders needed to support compiling Swift code.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index d6d463b..2de8950 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -335,6 +335,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
InitProperty("LINK_SEARCH_START_STATIC", nullptr);
InitProperty("LINK_SEARCH_END_STATIC", nullptr);
InitProperty("FOLDER", nullptr);
+ InitProperty("Swift_MODULE_DIRECTORY", nullptr);
InitProperty("VS_JUST_MY_CODE_DEBUGGING", nullptr);
#ifdef __APPLE__
if (this->GetGlobalGenerator()->IsXcode()) {