]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: fix checks for WITH_SYSTEM_QATLIB 66097/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 31 Oct 2025 15:26:20 +0000 (11:26 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 31 Oct 2025 15:27:04 +0000 (11:27 -0400)
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 <cbodley@redhat.com>
CMakeLists.txt

index a9a01b1db7d8fbfef0c2763261dc6eb2eda81a76..4f3afa9a845a03514f597397984fad8adc919f1a 100644 (file)
@@ -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()