From: Nathan Skrzypczak Date: Tue, 30 Apr 2019 16:22:16 +0000 (+0200) Subject: Remove target option when IPSecMB disabled X-Git-Tag: v20.01-rc0~673 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d7566cb70bbd1917e25e47c08a26c72451d86794;p=vpp.git Remove target option when IPSecMB disabled Change-Id: I2313932bdc41a4702585aa338f22df3f6e4e23d7 Signed-off-by: Nathan Skrzypczak --- diff --git a/src/plugins/crypto_ipsecmb/CMakeLists.txt b/src/plugins/crypto_ipsecmb/CMakeLists.txt index 0d08032c07e..86e33a2ca04 100644 --- a/src/plugins/crypto_ipsecmb/CMakeLists.txt +++ b/src/plugins/crypto_ipsecmb/CMakeLists.txt @@ -33,9 +33,8 @@ if(IPSECMB_INCLUDE_DIR AND IPSECMB_LIB) ${IPSECMB_LINK_FLAGS} ) + target_compile_options(crypto_ipsecmb_plugin PRIVATE "-march=silvermont") message(STATUS "Intel IPSecMB found: ${IPSECMB_INCLUDE_DIR}") else() message(STATUS "Intel IPSecMB not found") endif() - -target_compile_options(crypto_ipsecmb_plugin PRIVATE "-march=silvermont")