cmake: fix darwin build

HAVE_APPLICATION_SERVICES always gets set if cmake is available.
This commit is contained in:
Daiderd Jordan
2018-05-28 13:46:45 +02:00
parent e1b501a7f6
commit 02dcc8d734
2 changed files with 21 additions and 1 deletions
@@ -0,0 +1,16 @@
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 2008a0b..5a3e8ee 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -35,11 +35,6 @@
struct cmLinkImplementation;
-#if defined(CMAKE_BUILD_WITH_CMAKE) && defined(__APPLE__)
-#define HAVE_APPLICATION_SERVICES
-#include <ApplicationServices/ApplicationServices.h>
-#endif
-
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmXMLParser.h"