cmake: DPDK works w/o CRYPTOPP

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-12-13 14:54:17 +08:00
parent 36aa1b8c94
commit 4231cfbc99

View File

@ -373,9 +373,6 @@ endif()
option(WITH_DPDK "Enable DPDK messaging" OFF)
if(WITH_DPDK)
if(NOT USE_CRYPTOPP)
message(FATAL_ERROR "CRYPTOPP must be supported when enable DPDK.")
endif()
find_package(dpdk)
set(HAVE_DPDK ${DPDK_FOUND})
if(NOT TARGET dpdk-ext)