mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
CMakeLists: Enable Objective-C and Objective-C++ when compiling for macOS
This commit is contained in:
parent
889b67f8bb
commit
428a2c63b0
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION
|
|||
add_compile_definitions(FMT_CONSTEVAL=)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
enable_language(OBJC OBJCXX)
|
||||
endif()
|
||||
|
||||
option(ENABLE_OPENGL "Enables the OpenGL backend" ON)
|
||||
option(ENABLE_VULKAN "Enables the Vulkan backend" ON)
|
||||
option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue