crypto: add '-maes' compile switch
[vpp.git] / src / plugins / crypto_ipsecmb / CMakeLists.txt
index 86e33a2..59bfe24 100644 (file)
@@ -33,7 +33,7 @@ if(IPSECMB_INCLUDE_DIR AND IPSECMB_LIB)
                ${IPSECMB_LINK_FLAGS}
                )
 
-       target_compile_options(crypto_ipsecmb_plugin PRIVATE "-march=silvermont")
+       target_compile_options(crypto_ipsecmb_plugin PRIVATE "-march=silvermont" "-maes")
        message(STATUS "Intel IPSecMB found: ${IPSECMB_INCLUDE_DIR}")
 else()
        message(STATUS "Intel IPSecMB not found")