diff options
Diffstat (limited to 'cmake/uring.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() |