summaryrefslogtreecommitdiffstats
path: root/addon/doxysearch
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2017-10-20 10:31:29 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2017-10-20 18:25:40 (GMT)
commit7c1c75a2c5583415d178e0e46a1a356bef9b0c84 (patch)
tree305f101e105276db4a507171173fe478d67154fb /addon/doxysearch
parentac5ca4ef86ad50232be75a65fab99302307b7795 (diff)
downloadDoxygen-7c1c75a2c5583415d178e0e46a1a356bef9b0c84.zip
Doxygen-7c1c75a2c5583415d178e0e46a1a356bef9b0c84.tar.gz
Doxygen-7c1c75a2c5583415d178e0e46a1a356bef9b0c84.tar.bz2
CMake: avoid if() around the whole contents of plugin CMakeLists.txt
Just don't call add_subdirectory() if the build flag is not set.
Diffstat (limited to 'addon/doxysearch')
-rw-r--r--addon/doxysearch/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/addon/doxysearch/CMakeLists.txt b/addon/doxysearch/CMakeLists.txt
index 33e01c1..54794a6 100644
--- a/addon/doxysearch/CMakeLists.txt
+++ b/addon/doxysearch/CMakeLists.txt
@@ -1,5 +1,3 @@
-if (build_search)
-
find_package(Xapian REQUIRED)
find_package(ZLIB REQUIRED)
@@ -32,5 +30,3 @@ target_link_libraries(doxysearch.cgi
)
install(TARGETS doxyindexer doxysearch.cgi DESTINATION bin)
-
-endif()