summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
Diffstat (limited to 'addon')
-rw-r--r--addon/doxyapp/CMakeLists.txt5
-rw-r--r--addon/doxyparse/CMakeLists.txt5
2 files changed, 10 insertions, 0 deletions
diff --git a/addon/doxyapp/CMakeLists.txt b/addon/doxyapp/CMakeLists.txt
index 4fd1816..a737711 100644
--- a/addon/doxyapp/CMakeLists.txt
+++ b/addon/doxyapp/CMakeLists.txt
@@ -19,6 +19,11 @@ include_directories(
add_executable(doxyapp
doxyapp.cpp
)
+
+if (use_libclang)
+ set(CLANG_LIBS libclang clangTooling ${llvm_libs})
+endif()
+
target_link_libraries(doxyapp
_doxygen
qtools
diff --git a/addon/doxyparse/CMakeLists.txt b/addon/doxyparse/CMakeLists.txt
index 8e7536f..ff198fb 100644
--- a/addon/doxyparse/CMakeLists.txt
+++ b/addon/doxyparse/CMakeLists.txt
@@ -19,6 +19,11 @@ include_directories(
add_executable(doxyparse
doxyparse.cpp
)
+
+if (use_libclang)
+ set(CLANG_LIBS libclang clangTooling ${llvm_libs})
+endif()
+
target_link_libraries(doxyparse
_doxygen
qtools