mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-25 20:26:19 -06:00
fix cmake syntax
This commit is contained in:
parent
cf36aaaf3b
commit
5d185dc203
@ -117,10 +117,10 @@ option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)
|
||||
|
||||
if (ENABLE_OPENGL)
|
||||
set_compile_definitions(ENABLE_OPENGL)
|
||||
else()
|
||||
endif()
|
||||
if (ENABLE_VULKAN)
|
||||
add_compile_definitions(ENABLE_VULKAN)
|
||||
else()
|
||||
endif()
|
||||
|
||||
if (ENABLE_METAL AND NOT APPLE)
|
||||
message(FATAL_ERROR "Metal backend is only supported on Apple platforms")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user