diff options
author | Daniel Black <daniel@mariadb.org> | 2020-11-13 18:15:04 +1100 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2020-11-16 09:47:19 +1100 |
commit | 9b30212f15e280bef6d2a9be212c3295e912b959 (patch) | |
tree | e85649ed71f403654b039e7ade4ccc9bf547cbbc | |
parent | c8be6aafb97a6fac9ddc190aeb40a30eaeb47d4b (diff) | |
download | mariadb-git-9b30212f15e280bef6d2a9be212c3295e912b959.tar.gz |
MDEV-24161: shortcut OQGRAPH dependency checks if disabled
Reviewer: Brad Smith
-rw-r--r-- | storage/oqgraph/CMakeLists.txt | 4 |
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) |