From f3a2ed06abd98c99db6dc46c9eb400951186d9d4 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Thu, 14 Mar 2024 14:56:28 +0100 Subject: [PATCH] Fix build under clang-15. --- library/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index e937bc366..d24b3eb10 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -170,7 +170,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif(CMAKE_COMPILER_IS_GNUCC) if(CMAKE_COMPILER_IS_CLANG) - if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16) + if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 15) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wdocumentation") endif() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wno-documentation-deprecated-sync -Wunreachable-code")