SHA256
8
0
forked from pool/doxygen

Accepting request 819443 from home:fsirl:doxygen-libclang

- 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
This commit is contained in:
2020-07-10 07:24:58 +00:00
committed by Git OBS Bridge
parent d00bed73f0
commit 70c4a4e743
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
--- doxygen-1.8.16/addon/doxyapp/CMakeLists.txt~ 2020-07-07 16:52:25.526347653 +0200
+++ doxygen-1.8.16/addon/doxyapp/CMakeLists.txt 2020-07-07 17:07:15.382642253 +0200
@@ -14,7 +14,7 @@
)
if (use_libclang)
- set(CLANG_LIBS libclang clangTooling ${llvm_libs})
+ set(CLANG_LIBS libclang clang-cpp ${llvm_libs})
endif()
target_link_libraries(doxyapp
--- doxygen-1.8.16/addon/doxyparse/CMakeLists.txt~ 2020-07-07 16:52:25.526347653 +0200
+++ doxygen-1.8.16/addon/doxyparse/CMakeLists.txt 2020-07-07 17:07:38.729600748 +0200
@@ -14,7 +14,7 @@
)
if (use_libclang)
- set(CLANG_LIBS libclang clangTooling ${llvm_libs})
+ set(CLANG_LIBS libclang clang-cpp ${llvm_libs})
endif()
target_link_libraries(doxyparse
--- doxygen-1.8.16/src/CMakeLists.txt~ 2020-07-07 16:52:25.538347118 +0200
+++ doxygen-1.8.16/src/CMakeLists.txt 2020-07-07 17:08:18.567823582 +0200
@@ -269,7 +269,7 @@
include_directories(${LLVM_INCLUDE_DIRS})
add_definitions(${LLVM_DEFINITIONS})
target_compile_definitions(doxygen PRIVATE ${LLVM_DEFINITIONS})
- set(CLANG_LIBS libclang clangTooling LLVM)
+ set(CLANG_LIBS libclang clang-cpp LLVM)
endif()
target_link_libraries(doxygen