cmake: WITH_QATZIP requires WITH_QATLIB or WITH_QATDRV

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2023-11-24 13:42:45 -05:00
parent 1df11fd17c
commit 4e159853d2

View File

@ -330,6 +330,9 @@ elseif(WITH_QATLIB)
endif()
if(WITH_QATZIP)
if(NOT HAVE_QAT)
message(FATAL_ERROR "WITH_QATZIP requires WITH_QATLIB or WITH_QATDRV")
endif()
if(NOT WITH_SYSTEM_QATZIP)
include(BuildQATzip)
build_qatzip()