Browse Source
Fix build
Signed-off-by: crueter <crueter@eden-emu.dev>
kosmickrisp
crueter
2 days ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
4 additions and
4 deletions
-
CMakeLists.txt
|
|
|
@ -489,10 +489,10 @@ endfunction() |
|
|
|
# ============================================= |
|
|
|
|
|
|
|
if (APPLE) |
|
|
|
# Umbrella framework for everything GUI-related |
|
|
|
find_library(COCOA_LIBRARY Cocoa REQUIRED) |
|
|
|
find_library(IOKIT_LIBRARY IOKit REQUIRED) |
|
|
|
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY}) |
|
|
|
foreach (fw Carbon Metal Cocoa IOKit CoreVideo CoreMedia) |
|
|
|
find_library(${fw}_LIBRARY ${fw} REQUIRED) |
|
|
|
list(APPEND PLATFORM_LIBRARIES ${${fw}_LIBRARY}) |
|
|
|
endforeach() |
|
|
|
elseif (WIN32) |
|
|
|
# Target Windows 10 |
|
|
|
add_compile_definitions(_WIN32_WINNT=0x0A00 WINVER=0x0A00) |
|
|
|
|