nixpkgs/pkgs/development/tools/build-managers/cmake/application-services.patch
Daiderd Jordan 02dcc8d734
cmake: fix darwin build
HAVE_APPLICATION_SERVICES always gets set if cmake is available.
2018-05-28 13:46:45 +02:00

16 lines
469 B
Diff

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"