mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
Add MacOS Platform
Use MacOS Standard Fullscreen hotkey
This commit is contained in:
@ -13,6 +13,11 @@ if(WIN32)
|
||||
target_sources(dolphin-nogui PRIVATE PlatformWin32.cpp)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
target_sources(dolphin-nogui PRIVATE PlatformMacos.mm)
|
||||
target_compile_options(dolphin-nogui PRIVATE -fobjc-arc)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
target_sources(dolphin-nogui PRIVATE PlatformFBDev.cpp)
|
||||
endif()
|
||||
@ -26,6 +31,15 @@ PRIVATE
|
||||
cpp-optparse
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries(dolphin-nogui
|
||||
PRIVATE
|
||||
${APPKIT_LIBRARY}
|
||||
${COREFOUNDATION_LIBRARY}
|
||||
${IOK_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
# Add precompiled header
|
||||
target_link_libraries(dolphin-nogui PRIVATE use_pch)
|
||||
|
Reference in New Issue
Block a user