summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-02-07 20:24:53 (GMT)
committerBrad King <brad.king@kitware.com>2018-02-13 16:02:24 (GMT)
commit4349393d1d55abb9977d62d921af2e1fd9f27f29 (patch)
tree982e03af254ee7b02cc0dc1a5a1898f2d6116411 /Source/cmGlobalXCodeGenerator.cxx
parent9c1efb614dee294cb3a1077e8a232573f309c605 (diff)
downloadCMake-4349393d1d55abb9977d62d921af2e1fd9f27f29.zip
CMake-4349393d1d55abb9977d62d921af2e1fd9f27f29.tar.gz
CMake-4349393d1d55abb9977d62d921af2e1fd9f27f29.tar.bz2
cmGlobalXCodeGenerator: Properly initialize TARGETS variable
Fixes: #17711
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index b1afdc9..2a38599 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";