iOS: Fix compilation of CMake itself

There are no ApplicationServices on iOS.
This commit is contained in:
Hayden
2021-01-29 15:46:32 -05:00
committed by Brad King
parent c5691f03e5
commit 30360cb05f

View File

@@ -47,8 +47,11 @@
struct cmLinkImplementation;
#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__)
# define HAVE_APPLICATION_SERVICES
# include <ApplicationServices/ApplicationServices.h>
# include <CoreFoundation/CoreFoundation.h>
# if !TARGET_OS_IPHONE
# define HAVE_APPLICATION_SERVICES
# include <ApplicationServices/ApplicationServices.h>
# endif
#endif
#if !defined(CMAKE_BOOTSTRAP)