summaryrefslogtreecommitdiffstats
path: root/addon/doxyparse
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxyparse')
-rw-r--r--addon/doxyparse/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/addon/doxyparse/CMakeLists.txt b/addon/doxyparse/CMakeLists.txt
index 6ddc113..8df99ab 100644
--- a/addon/doxyparse/CMakeLists.txt
+++ b/addon/doxyparse/CMakeLists.txt
@@ -15,7 +15,11 @@ doxyparse.cpp
add_sanitizers(doxyparse)
if (use_libclang)
- set(CLANG_LIBS libclang clangTooling ${llvm_libs})
+ if (static_libclang)
+ set(CLANG_LIBS libclang clangTooling ${llvm_libs})
+ else()
+ set(CLANG_LIBS libclang clang-cpp ${llvm_libs})
+ endif()
endif()
target_link_libraries(doxyparse