summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2020-11-13 18:15:04 +1100
committerDaniel Black <daniel@mariadb.org>2020-11-16 09:47:19 +1100
commit9b30212f15e280bef6d2a9be212c3295e912b959 (patch)
treee85649ed71f403654b039e7ade4ccc9bf547cbbc
parentc8be6aafb97a6fac9ddc190aeb40a30eaeb47d4b (diff)
downloadmariadb-git-9b30212f15e280bef6d2a9be212c3295e912b959.tar.gz
MDEV-24161: shortcut OQGRAPH dependency checks if disabled
Reviewer: Brad Smith
-rw-r--r--storage/oqgraph/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/oqgraph/CMakeLists.txt b/storage/oqgraph/CMakeLists.txt
index 613a44807c7..3be197f7106 100644
--- a/storage/oqgraph/CMakeLists.txt
+++ b/storage/oqgraph/CMakeLists.txt
@@ -39,6 +39,10 @@ int main() { return 0; }
ENDIF()
ENDFUNCTION()
+IF(PLUGIN_OQGRAPH STREQUAL "NO")
+ RETURN()
+ENDIF()
+
IF(NOT DEFINED OQGRAPH_OK)
CHECK_OQGRAPH()
IF (NOT OQGRAPH_OK)