mirror of https://github.com/libsdl-org/SDL
We removed QuartzCore link dependency in commit 5be6badaf7e1
This commit is contained in:
parent
8ac85744cd
commit
c0530bcdf3
|
@ -859,7 +859,7 @@ if(ANDROID)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
CHECK_C_SOURCE_COMPILES("
|
CHECK_C_SOURCE_COMPILES("
|
||||||
#if defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH < 7
|
#if defined(__ARM_ARCH) && __ARM_ARCH < 7
|
||||||
#error Vulkan doesn't work on this configuration
|
#error Vulkan doesn't work on this configuration
|
||||||
#endif
|
#endif
|
||||||
int main()
|
int main()
|
||||||
|
@ -1434,10 +1434,6 @@ elseif(APPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Actually load the frameworks at the end so we don't duplicate include.
|
# Actually load the frameworks at the end so we don't duplicate include.
|
||||||
if (VIDEO_VULKAN)
|
|
||||||
find_library(QUARTZCORE QuartzCore)
|
|
||||||
list(APPEND EXTRA_LIBS ${QUARTZCORE})
|
|
||||||
endif()
|
|
||||||
if(SDL_FRAMEWORK_COREVIDEO)
|
if(SDL_FRAMEWORK_COREVIDEO)
|
||||||
find_library(COREVIDEO CoreVideo)
|
find_library(COREVIDEO CoreVideo)
|
||||||
list(APPEND EXTRA_LIBS ${COREVIDEO})
|
list(APPEND EXTRA_LIBS ${COREVIDEO})
|
||||||
|
@ -1517,7 +1513,7 @@ elseif(HAIKU)
|
||||||
CheckPTHREAD()
|
CheckPTHREAD()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(VIDEO_VULKAN AND (NOT APPLE OR QUARTZCORE))
|
if(VIDEO_VULKAN)
|
||||||
set(SDL_VIDEO_VULKAN 1)
|
set(SDL_VIDEO_VULKAN 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -24269,9 +24269,6 @@ $as_echo "#define SDL_VIDEO_RENDER_OGL_ES2 1" >>confdefs.h
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGLES"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGLES"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,UIKit"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,UIKit"
|
||||||
if test x$enable_video_vulkan = xyes; then
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*-*-darwin* )
|
*-*-darwin* )
|
||||||
# This could be either full "Mac OS X", or plain "Darwin" which is
|
# This could be either full "Mac OS X", or plain "Darwin" which is
|
||||||
|
@ -24359,9 +24356,6 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
|
||||||
if test x$enable_video_vulkan = xyes; then
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*-nacl|*-pnacl)
|
*-nacl|*-pnacl)
|
||||||
ARCH=nacl
|
ARCH=nacl
|
||||||
|
|
|
@ -3678,9 +3678,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGLES"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,OpenGLES"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,UIKit"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,UIKit"
|
||||||
if test x$enable_video_vulkan = xyes; then
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*-*-darwin* )
|
*-*-darwin* )
|
||||||
# This could be either full "Mac OS X", or plain "Darwin" which is
|
# This could be either full "Mac OS X", or plain "Darwin" which is
|
||||||
|
@ -3756,9 +3753,6 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Cocoa"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Carbon"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
|
||||||
if test x$enable_video_vulkan = xyes; then
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*-nacl|*-pnacl)
|
*-nacl|*-pnacl)
|
||||||
ARCH=nacl
|
ARCH=nacl
|
||||||
|
|
Loading…
Reference in New Issue