diff options
author | Eugene Kosov <claprix@yandex.ru> | 2021-03-16 16:40:08 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2021-03-17 10:57:45 +0300 |
commit | a4d3e0465953613a2b4effe706fc4bc84dd855d9 (patch) | |
tree | 11fa73a2b1eaeaf267f83757f1012ad12897087c /cmake | |
parent | f87a944c79d158857d3ddabc6a11a4acb73afe06 (diff) | |
download | mariadb-git-a4d3e0465953613a2b4effe706fc4bc84dd855d9.tar.gz |
MDEV-24883 follow up: unset variables in CMake
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/uring.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/uring.cmake b/cmake/uring.cmake index ac76a6d2048..a3a045c131b 100644 --- a/cmake/uring.cmake +++ b/cmake/uring.cmake @@ -12,8 +12,13 @@ MACRO(CHECK_URING) IF(WITH_URING STREQUAL "yes") MESSAGE(FATAL_ERROR "Requested WITH_URING=yes but liburing was not found") ENDIF() + UNSET(LIBURING CACHE) + UNSET(HAVE_LIBURING_H CACHE) ENDIF() - ELSEIF(NOT WITH_URING STREQUAL "no") + ELSEIF(WITH_URING STREQUAL "no") + UNSET(LIBURING CACHE) + UNSET(HAVE_LIBURING_H CACHE) + ELSE() MESSAGE(FATAL_ERROR "Invalid value for WITH_URING. Must be 'yes', 'no', or 'auto'.") ENDIF() ENDIF() |