mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-07-03 17:11:59 -05:00
CMakeLists: Remove redundant clang version check
The minimum clang version is currently 15
This commit is contained in:
parent
8328469f5e
commit
8200d93199
|
|
@ -402,12 +402,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
|||
set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};/usr/local")
|
||||
set(CMAKE_REQUIRED_INCLUDES "/usr/local/include")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L/usr/local/lib")
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 14.0)
|
||||
# Workaround: the llvm libc++ and versions of clang earlier than 14 have a bug with consteval
|
||||
# so we define FMT_CONSTEVAL to blank to just disable consteval in fmt
|
||||
add_definitions(-DFMT_CONSTEVAL=)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Dolphin requires threads.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user