CMakeLists.txt
changeset 11409 3a5c77515d55
parent 11381 2610f8f0a9c6
child 11422 243b1a53ad89
     1.1 --- a/CMakeLists.txt	Mon Aug 28 22:36:45 2017 -0700
     1.2 +++ b/CMakeLists.txt	Mon Aug 28 22:42:41 2017 -0700
     1.3 @@ -859,7 +859,7 @@
     1.4      endif()
     1.5  
     1.6      CHECK_C_SOURCE_COMPILES("
     1.7 -    #if defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH < 7
     1.8 +    #if defined(__ARM_ARCH) && __ARM_ARCH < 7
     1.9      #error Vulkan doesn't work on this configuration
    1.10      #endif
    1.11      int main()
    1.12 @@ -1434,10 +1434,6 @@
    1.13    endif()
    1.14  
    1.15    # Actually load the frameworks at the end so we don't duplicate include.
    1.16 -  if (VIDEO_VULKAN)
    1.17 -    find_library(QUARTZCORE QuartzCore)
    1.18 -    list(APPEND EXTRA_LIBS ${QUARTZCORE})
    1.19 -  endif()
    1.20    if(SDL_FRAMEWORK_COREVIDEO)
    1.21      find_library(COREVIDEO CoreVideo)
    1.22      list(APPEND EXTRA_LIBS ${COREVIDEO})
    1.23 @@ -1517,7 +1513,7 @@
    1.24    CheckPTHREAD()
    1.25  endif()
    1.26  
    1.27 -if(VIDEO_VULKAN AND (NOT APPLE OR QUARTZCORE))
    1.28 +if(VIDEO_VULKAN)
    1.29    set(SDL_VIDEO_VULKAN 1)
    1.30  endif()
    1.31