diff options
Diffstat (limited to 'addon/doxysearch/CMakeLists.txt')
-rw-r--r-- | addon/doxysearch/CMakeLists.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/addon/doxysearch/CMakeLists.txt b/addon/doxysearch/CMakeLists.txt index 54794a6..d0c8724 100644 --- a/addon/doxysearch/CMakeLists.txt +++ b/addon/doxysearch/CMakeLists.txt @@ -1,13 +1,14 @@ -find_package(Xapian REQUIRED) +find_package(xapian REQUIRED) find_package(ZLIB REQUIRED) if (WIN32) - set(WIN_EXTRA_LIBS "uuid.lib rpcrt4.lib ws2_32.lib") + set(WIN_EXTRA_LIBS uuid.lib rpcrt4.lib ws2_32.lib) endif() include_directories( - ${CMAKE_SOURCE_DIR}/qtools - ${XAPIAN_INCLUDE_DIR} + ${PROJECT_SOURCE_DIR}/libversion + ${PROJECT_SOURCE_DIR}/qtools + ${XAPIAN_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS} ) add_executable(doxyindexer @@ -16,7 +17,9 @@ add_executable(doxyindexer target_link_libraries(doxyindexer ${XAPIAN_LIBRARIES} ${ZLIB_LIBRARIES} - ${WIN_EXTRA_LIBS} + ${WIN_EXTRA_LIBS} + ${COVERAGE_LINKER_FLAGS} + doxygen_version qtools ) @@ -24,9 +27,10 @@ add_executable(doxysearch.cgi doxysearch.cpp ) target_link_libraries(doxysearch.cgi + doxygen_version ${XAPIAN_LIBRARIES} ${ZLIB_LIBRARIES} - ${WIN_EXTRA_LIBS} + ${WIN_EXTRA_LIBS} ) install(TARGETS doxyindexer doxysearch.cgi DESTINATION bin) |