summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-06-23 22:45:26 +0200
committerJoshua Vandaƫle <joshua@vandaele.software>2026-06-23 22:45:26 +0200
commit8200d9319987feb100c8ba121c032eb255b85510 (patch)
tree28a764759e651ffa84571ddf3213311f407b8b33
parent8328469f5e48ba455d97ad15ebb9289170a662aa (diff)
CMakeLists: Remove redundant clang version check
The minimum clang version is currently 15
-rw-r--r--CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f07566c044..dacb51c382 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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.