mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-03 03:09:13 +00:00
+6
-5
@@ -523,14 +523,15 @@ endfunction()
|
|||||||
# Put these BEFORE EXTERNALS or Boost WILL die
|
# Put these BEFORE EXTERNALS or Boost WILL die
|
||||||
# =============================================
|
# =============================================
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
foreach(fw Carbon Metal Cocoa IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers)
|
if (IOS)
|
||||||
|
set(_libs Metal IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers)
|
||||||
|
else()
|
||||||
|
set(_libs Carbon Metal Cocoa IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers)
|
||||||
|
endif()
|
||||||
|
foreach(fw ${_libs})
|
||||||
find_library(${fw}_LIBRARY ${fw} REQUIRED)
|
find_library(${fw}_LIBRARY ${fw} REQUIRED)
|
||||||
list(APPEND PLATFORM_LIBRARIES ${${fw}_LIBRARY})
|
list(APPEND PLATFORM_LIBRARIES ${${fw}_LIBRARY})
|
||||||
endforeach()
|
endforeach()
|
||||||
if (IOS)
|
|
||||||
find_library(objc_LIBRARY objc REQUIRED)
|
|
||||||
list(APPEND PLATFORM_LIBRARIES ${objc_LIBRARY})
|
|
||||||
endif()
|
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
# Target Windows 10
|
# Target Windows 10
|
||||||
add_compile_definitions(_WIN32_WINNT=0x0A00 WINVER=0x0A00)
|
add_compile_definitions(_WIN32_WINNT=0x0A00 WINVER=0x0A00)
|
||||||
|
|||||||
Reference in New Issue
Block a user