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
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
--- 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
|