mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 11:11:35 +02:00
Upgrade to SDL2.0.2 (8393682d9d96d1516831a397290cb34ceb82129f).
This commit is contained in:
@@ -556,9 +556,9 @@ endmacro(CheckWayland)
|
||||
#
|
||||
macro(CheckCOCOA)
|
||||
if(VIDEO_COCOA)
|
||||
check_objc_source_compiles("
|
||||
#import <Cocoa/Cocoa.h>
|
||||
int main (int argc, char** argv) {}" HAVE_VIDEO_COCOA)
|
||||
if(APPLE) # Apple always has Cocoa.
|
||||
set(HAVE_VIDEO_COCOA TRUE)
|
||||
endif(APPLE)
|
||||
if(HAVE_VIDEO_COCOA)
|
||||
file(GLOB COCOA_SOURCES ${SDL2_SOURCE_DIR}/src/video/cocoa/*.m)
|
||||
set_source_files_properties(${COCOA_SOURCES} PROPERTIES LANGUAGE C)
|
||||
|
||||
Reference in New Issue
Block a user