mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 18:59:26 +02:00
fix libs
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
faca1b377a
commit
bd4130055d
1 changed files with 6 additions and 5 deletions
|
|
@ -513,14 +513,15 @@ endfunction()
|
|||
# Put these BEFORE EXTERNALS or Boost WILL die
|
||||
# =============================================
|
||||
if (APPLE)
|
||||
foreach(fw Carbon Metal Cocoa IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers Foundation)
|
||||
if (IOS)
|
||||
set(_libs Carbon Metal IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers Foundation)
|
||||
else()
|
||||
set(_libs Carbon Metal Cocoa IOKit CoreVideo CoreMedia Security UniformTypeIdentifiers Foundation)
|
||||
endif()
|
||||
foreach(fw ${_libs})
|
||||
find_library(${fw}_LIBRARY ${fw} REQUIRED)
|
||||
list(APPEND PLATFORM_LIBRARIES ${${fw}_LIBRARY})
|
||||
endforeach()
|
||||
if (IOS)
|
||||
find_library(objc_LIBRARY objc REQUIRED)
|
||||
list(APPEND PLATFORM_LIBRARIES ${objc_LIBRARY})
|
||||
endif()
|
||||
elseif (WIN32)
|
||||
# Target Windows 10
|
||||
add_compile_definitions(_WIN32_WINNT=0x0A00 WINVER=0x0A00)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue