summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_ipsecmb
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-04-30 18:22:16 +0200
committerDamjan Marion <dmarion@me.com>2019-05-06 16:35:02 +0000
commitd7566cb70bbd1917e25e47c08a26c72451d86794 (patch)
tree13134959af8c66bbfb969073131851d954f0be4d /src/plugins/crypto_ipsecmb
parent6fec8ea700c4789462748c91983e5adf4d60a266 (diff)
Remove target option when IPSecMB disabled
Change-Id: I2313932bdc41a4702585aa338f22df3f6e4e23d7 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/crypto_ipsecmb')
-rw-r--r--src/plugins/crypto_ipsecmb/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
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")