diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-09-16 18:29:23 (GMT) |
---|---|---|
committer | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-09-16 18:29:23 (GMT) |
commit | af3bb09cfeb60aeda554754f13a939d14e4bbd4e (patch) | |
tree | f70d82b270a76424b362a9b35b56dbca99c6ebd3 | |
parent | c1901d07755826803e92618e60d8af9720dbb1e7 (diff) | |
download | Doxygen-af3bb09cfeb60aeda554754f13a939d14e4bbd4e.zip Doxygen-af3bb09cfeb60aeda554754f13a939d14e4bbd4e.tar.gz Doxygen-af3bb09cfeb60aeda554754f13a939d14e4bbd4e.tar.bz2 |
Lowercase Findxapian module (same casing as upstream xapian-core)
-rw-r--r-- | addon/doxysearch/CMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake/Findxapian.cmake (renamed from cmake/FindXapian.cmake) | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/addon/doxysearch/CMakeLists.txt b/addon/doxysearch/CMakeLists.txt index dd3258d..459d17a 100644 --- a/addon/doxysearch/CMakeLists.txt +++ b/addon/doxysearch/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Xapian REQUIRED) +find_package(xapian REQUIRED) find_package(ZLIB REQUIRED) if (WIN32) diff --git a/cmake/FindXapian.cmake b/cmake/Findxapian.cmake index 6109d7f..33726cf 100644 --- a/cmake/FindXapian.cmake +++ b/cmake/Findxapian.cmake @@ -1,4 +1,4 @@ -# Find Xapian search engine library +# Find xapian search engine library # # XAPIAN_FOUND - system has Xapian # XAPIAN_INCLUDE_DIR - the Xapian include directory @@ -11,7 +11,7 @@ if(XAPIAN_INCLUDE_DIR AND XAPIAN_LIBRARIES) # Already in cache, be silent - set(Xapian_FIND_QUIETLY TRUE) + set(xapian_FIND_QUIETLY TRUE) endif(XAPIAN_INCLUDE_DIR AND XAPIAN_LIBRARIES) FIND_PATH(XAPIAN_INCLUDE_DIR xapian/version.h) @@ -25,16 +25,16 @@ ELSE(XAPIAN_INCLUDE_DIR AND XAPIAN_LIBRARIES) ENDIF(XAPIAN_INCLUDE_DIR AND XAPIAN_LIBRARIES) IF(XAPIAN_FOUND) - IF(NOT Xapian_FIND_QUIETLY) - MESSAGE(STATUS "Found Xapian: ${XAPIAN_LIBRARIES}") - ENDIF(NOT Xapian_FIND_QUIETLY) + IF(NOT xapian_FIND_QUIETLY) + MESSAGE(STATUS "Found xapian: ${XAPIAN_LIBRARIES}") + ENDIF(NOT xapian_FIND_QUIETLY) ELSE(XAPIAN_FOUND) - IF(Xapian_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "Could not find Xapian") - ENDIF(Xapian_FIND_REQUIRED) - IF(NOT Xapian_FIND_QUIETLY) - MESSAGE(STATUS "Could not find Xapian") - ENDIF(NOT Xapian_FIND_QUIETLY) + IF(xapian_FIND_REQUIRED) + MESSAGE(FATAL_ERROR "Could not find xapian") + ENDIF(xapian_FIND_REQUIRED) + IF(NOT xapian_FIND_QUIETLY) + MESSAGE(STATUS "Could not find xapian") + ENDIF(NOT xapian_FIND_QUIETLY) ENDIF(XAPIAN_FOUND) # show the XAPIAN_INCLUDE_DIR and XAPIAN_LIBRARIES variables only in the advanced view |