From d74678e0a862e2e97d51f9bf4a4bdd7eca50021a Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 31 Oct 2025 11:26:20 -0400 Subject: [PATCH] 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 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a9a01b1db7d8..4f3afa9a845a 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() -- 2.47.3