mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-23 14:49:44 +01: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
|
# Put these BEFORE EXTERNALS or Boost WILL die
|
||||||
# =============================================
|
# =============================================
|
||||||
if (APPLE)
|
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)
|
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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue