Commit a4d3e046 authored by Eugene Kosov's avatar Eugene Kosov

MDEV-24883 follow up: unset variables in CMake

parent f87a944c
...@@ -12,8 +12,13 @@ MACRO(CHECK_URING) ...@@ -12,8 +12,13 @@ MACRO(CHECK_URING)
IF(WITH_URING STREQUAL "yes") IF(WITH_URING STREQUAL "yes")
MESSAGE(FATAL_ERROR "Requested WITH_URING=yes but liburing was not found") MESSAGE(FATAL_ERROR "Requested WITH_URING=yes but liburing was not found")
ENDIF() ENDIF()
UNSET(LIBURING CACHE)
UNSET(HAVE_LIBURING_H CACHE)
ENDIF() 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'.") MESSAGE(FATAL_ERROR "Invalid value for WITH_URING. Must be 'yes', 'no', or 'auto'.")
ENDIF() ENDIF()
ENDIF() ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment