From: Casey Bodley Date: Fri, 31 Oct 2025 15:26:20 +0000 (-0400) Subject: cmake: fix checks for WITH_SYSTEM_QATLIB X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F66097%2Fhead;p=ceph.git cmake: fix checks for WITH_SYSTEM_QATLIB commit 30681236678c7ee006a699b658233388b0f884c8 introduced the cmake option WITH_SYSTEM_QATLIB, but the checks were based on nonexistent variable WITH_SYSTEM_QAT Signed-off-by: Casey Bodley --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a9a01b1db7d..4f3afa9a845 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -353,12 +353,12 @@ if(WITH_QATDRV) find_package(QatDrv REQUIRED COMPONENTS qat_s usdm_drv_s) set(HAVE_QAT TRUE) elseif(WITH_QATLIB) - if(NOT WITH_SYSTEM_QAT) + if(NOT WITH_SYSTEM_QATLIB) include(BuildQAT) build_qat() endif() find_package(QAT REQUIRED) - if(NOT WITH_SYSTEM_QAT) + if(NOT WITH_SYSTEM_QATLIB) add_dependencies(QAT::qat qatlib_ext) add_dependencies(QAT::usdm qatlib_ext) endif()