summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-02-07 21:24:53 +0100
committerBrad King <brad.king@kitware.com>2018-02-13 11:02:24 -0500
commit4349393d1d55abb9977d62d921af2e1fd9f27f29 (patch)
tree982e03af254ee7b02cc0dc1a5a1898f2d6116411 /Source
parent9c1efb614dee294cb3a1077e8a232573f309c605 (diff)
downloadcmake-4349393d1d55abb9977d62d921af2e1fd9f27f29.tar.gz
cmGlobalXCodeGenerator: Properly initialize TARGETS variable
Fixes: #17711
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index b1afdc9c30..2a3859975d 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -542,6 +542,7 @@ void cmGlobalXCodeGenerator::CreateReRunCMakeFile(
makefileStream.SetCopyIfDifferent(true);
makefileStream << "# Generated by CMake, DO NOT EDIT\n\n";
+ makefileStream << "TARGETS:= \n";
makefileStream << "empty:= \n";
makefileStream << "space:= $(empty) $(empty)\n";
makefileStream << "spaceplus:= $(empty)\\ $(empty)\n\n";