forked from pool/doxygen
Petr Gajdos
a8bf8d94ec
Hi, this request adds optional support for doxygen with libclang integration to the specfile. Doxygen with libclang support is regularly requested by my users, so it would be nice to have upstream. The build currently only fails against SUSE-SLE-15-SP1:Update because the following clang7 change hasn't been backported yet: * Mon Jul 01 2019 Aaron Puchert <aaronpuchert@alice-dsl.net> - Add a clang-%{_sonum} symlink, which is referenced by /usr/lib64/cmake/clang/ClangTargets.cmake (boo#1138457) Franz. OBS-URL: https://build.opensuse.org/request/show/734103 OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=140
14 lines
524 B
Diff
14 lines
524 B
Diff
--- src/CMakeLists.txt~ 2019-07-28 13:32:49.436473952 +0200
|
|
+++ src/CMakeLists.txt 2019-07-28 13:33:52.016439550 +0200
|
|
@@ -261,9 +261,8 @@
|
|
endif()
|
|
include_directories(${LLVM_INCLUDE_DIRS})
|
|
add_definitions(${LLVM_DEFINITIONS})
|
|
- llvm_map_components_to_libnames(llvm_libs support core option)
|
|
target_compile_definitions(doxygen PRIVATE ${LLVM_DEFINITIONS})
|
|
- set(CLANG_LIBS libclang clangTooling ${llvm_libs})
|
|
+ set(CLANG_LIBS libclang clangTooling LLVM)
|
|
endif()
|
|
|
|
target_link_libraries(doxygen
|