Skip to content

Commit 2c8d885

Browse files
authored
Merge pull request ceph#66097 from cbodley/wip-cmake-system-qatlib
cmake: fix checks for WITH_SYSTEM_QATLIB Reviewed-by: Kefu Chai <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]>
2 parents 4df19bc + d74678e commit 2c8d885

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,12 @@ if(WITH_QATDRV)
353353
find_package(QatDrv REQUIRED COMPONENTS qat_s usdm_drv_s)
354354
set(HAVE_QAT TRUE)
355355
elseif(WITH_QATLIB)
356-
if(NOT WITH_SYSTEM_QAT)
356+
if(NOT WITH_SYSTEM_QATLIB)
357357
include(BuildQAT)
358358
build_qat()
359359
endif()
360360
find_package(QAT REQUIRED)
361-
if(NOT WITH_SYSTEM_QAT)
361+
if(NOT WITH_SYSTEM_QATLIB)
362362
add_dependencies(QAT::qat qatlib_ext)
363363
add_dependencies(QAT::usdm qatlib_ext)
364364
endif()

0 commit comments

Comments
 (0)