forked from pool/doxygen
Petr Gajdos
70c4a4e743
- Improve build with libclang support: * add doxygen-libclang-cpp.patch to support linking against libclang-cpp * add upstream doxygen-64f1f2357ae764f2c8190d067aff801bc0a56721.patch to support clang-10 OBS-URL: https://build.opensuse.org/request/show/819443 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=148
25 lines
712 B
Diff
25 lines
712 B
Diff
From 64f1f2357ae764f2c8190d067aff801bc0a56721 Mon Sep 17 00:00:00 2001
|
|
From: Eric Niebler <eniebler@boost.org>
|
|
Date: Tue, 10 Sep 2019 10:48:55 -0700
|
|
Subject: [PATCH] Latest libclang needs C++14
|
|
|
|
---
|
|
CMakeLists.txt | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 7aa1c01fc..2644ceb49 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -49,8 +49,8 @@ if (use_libclang)
|
|
endif()
|
|
endif()
|
|
|
|
-# use C++11 standard for compiling (libclang option requires it)
|
|
-set(CMAKE_CXX_STANDARD 11)
|
|
+# use C++14 standard for compiling (libclang option requires it)
|
|
+set(CMAKE_CXX_STANDARD 14)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_CXX_EXTENSIONS ON)
|
|
|