doxygen-1.8.11-link_with_pthread.patch 1.05 KB
diff --git a/addon/doxysearch/CMakeLists.txt b/addon/doxysearch/CMakeLists.txt
index 33e01c1..165fc3e 100644
--- a/addon/doxysearch/CMakeLists.txt
+++ b/addon/doxysearch/CMakeLists.txt
@@ -20,6 +20,7 @@ target_link_libraries(doxyindexer
                       ${ZLIB_LIBRARIES}
 		      ${WIN_EXTRA_LIBS}
                       qtools
+                      pthread
 )
 
 add_executable(doxysearch.cgi
@@ -29,6 +30,7 @@ target_link_libraries(doxysearch.cgi
                       ${XAPIAN_LIBRARIES}
                       ${ZLIB_LIBRARIES}
 		      ${WIN_EXTRA_LIBS}
+                      pthread
 )
 
 install(TARGETS doxyindexer doxysearch.cgi DESTINATION bin)
diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
index bf2eda8..8eb2a1c 100644
--- a/addon/doxywizard/CMakeLists.txt
+++ b/addon/doxywizard/CMakeLists.txt
@@ -109,6 +109,7 @@ ${doxywizard_RESOURCES_RCC}
 qt_use_modules(doxywizard Core Gui Widgets Xml)
 target_link_libraries(doxywizard
 ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY}
+pthread
 )
 
 install(TARGETS doxywizard DESTINATION bin)