mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 07:21:18 +12:00
CMakeLists: Add workaround for clang 13 bug with consteval
This commit is contained in:
parent
80b31a032e
commit
889b67f8bb
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,11 @@ if (MSVC)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 14.0)
|
||||||
|
# Clang versions below 14 have issues with consteval in fmt: https://github.com/fmtlib/fmt/issues/2455
|
||||||
|
add_compile_definitions(FMT_CONSTEVAL=)
|
||||||
|
endif()
|
||||||
|
|
||||||
option(ENABLE_OPENGL "Enables the OpenGL backend" ON)
|
option(ENABLE_OPENGL "Enables the OpenGL backend" ON)
|
||||||
option(ENABLE_VULKAN "Enables the Vulkan backend" ON)
|
option(ENABLE_VULKAN "Enables the Vulkan backend" ON)
|
||||||
option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)
|
option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue