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>
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()