From 4349393d1d55abb9977d62d921af2e1fd9f27f29 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Wed, 7 Feb 2018 21:24:53 +0100 Subject: cmGlobalXCodeGenerator: Properly initialize TARGETS variable Fixes: #17711 --- Source/cmGlobalXCodeGenerator.cxx | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v0.12