Remove target option when IPSecMB disabled

Change-Id: I2313932bdc41a4702585aa338f22df3f6e4e23d7
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
This commit is contained in:
Nathan Skrzypczak
2019-04-30 18:22:16 +02:00
committed by Damjan Marion
parent 6fec8ea700
commit d7566cb70b

View File

@ -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")