|
|
|
@ -482,15 +482,14 @@ endfunction() |
|
|
|
# Platform-specific library requirements |
|
|
|
# Put these BEFORE EXTERNALS or Boost WILL die |
|
|
|
# ============================================= |
|
|
|
|
|
|
|
if (APPLE) |
|
|
|
# Umbrella framework for everything GUI-related |
|
|
|
find_library(COCOA_LIBRARY Cocoa REQUIRED) |
|
|
|
find_library(IOKIT_LIBRARY IOKit REQUIRED) |
|
|
|
if (IOS) |
|
|
|
find_library(OBJC_LIBRARY objc REQUIRED) |
|
|
|
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY} ${OBJC_LIBRARY}) |
|
|
|
set(PLATFORM_LIBRARIES ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY} ${OBJC_LIBRARY}) |
|
|
|
else() |
|
|
|
# Umbrella framework for everything GUI-related |
|
|
|
find_library(COCOA_LIBRARY Cocoa REQUIRED) |
|
|
|
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY}) |
|
|
|
endif() |
|
|
|
elseif (WIN32) |
|
|
|
|