diff --git a/scripts/cmake/DocumentationSetup.cmake b/scripts/cmake/DocumentationSetup.cmake
index e2dd8844939e74d5a34a8fb68289ce50709a73d1..41b4b3f4641f5830f6712cf0f2aeda0ed05b2faa 100644
--- a/scripts/cmake/DocumentationSetup.cmake
+++ b/scripts/cmake/DocumentationSetup.cmake
@@ -90,6 +90,7 @@ if($ENV{CI_COMMIT_BRANCH} MATCHES "master|^v[0-9]\.[0-9]\.[0-9]")
     set(DOXYGEN_SEARCHENGINE_URL
         "https://doxysearch.opengeosys.org/$ENV{CI_COMMIT_BRANCH}/doxysearch.cgi"
     )
+    set(DOXYGEN_SEARCHENGINE YES)
     message(STATUS "Doxygen search server: ${DOXYGEN_SEARCHENGINE_URL}")
 endif()
 if(EXISTS ${PROJECT_BINARY_DIR}/cpp-dependencies.svg)