${ZLIB_LIBRARIES}
${WIN_EXTRA_LIBS}
qtools
pthread
)
add_executable(doxysearch.cgi
${XAPIAN_LIBRARIES}
install(TARGETS doxyindexer doxysearch.cgi DESTINATION bin)
if(Qt5Core_FOUND)
target_link_libraries(doxywizard Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml)
target_link_libraries(doxywizard Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml pthread)
else()
target_link_libraries(doxywizard ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY})
target_link_libraries(doxywizard ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY} pthread)
endif()
install(TARGETS doxywizard DESTINATION bin)