summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-18 14:36:57 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-18 14:36:58 +0200
commit9f540ed348e3a3ef01951208211603a07fd574d6 (patch)
treeb89b90f4d163c64271b5c34afbc895e801ab3385 /src/plugins/dpdk/CMakeLists.txt
parent74dfaa665bd05e75bd44f5b18376dba053fef15f (diff)
cmake: highlight warning and error messages
Change-Id: Id4b73368382b5e78c138987fe092429af5cb0afd Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/CMakeLists.txt')
-rw-r--r--src/plugins/dpdk/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/dpdk/CMakeLists.txt b/src/plugins/dpdk/CMakeLists.txt
index 5f468110e50..66407041eae 100644
--- a/src/plugins/dpdk/CMakeLists.txt
+++ b/src/plugins/dpdk/CMakeLists.txt
@@ -109,16 +109,16 @@ if(DPDK_INCLUDE_DIR AND DPDK_LIB)
device/node.c
)
- message("-- Found DPDK ${DPDK_VERSION} in ${DPDK_INCLUDE_DIR}")
+ message(STATUS "Found DPDK ${DPDK_VERSION} in ${DPDK_INCLUDE_DIR}")
get_filename_component(DPDK_LIB_DIR ${DPDK_LIB} DIRECTORY)
set(DPDK_LINK_FLAGS "-L${DPDK_LIB_DIR} -Wl,--whole-archive,${DPDK_LIB},--no-whole-archive")
if(DPDK_RTE_LIBRTE_PMD_AESNI_MB OR DPDK_RTE_LIBRTE_PMD_AESNI_GCM)
set(DPDK_LINK_FLAGS "${DPDK_LINK_FLAGS} -Wl,--exclude-libs,libIPSec_MB.a,-l:libIPSec_MB.a")
- message("-- DPDK depends on IPSec MB library")
+ message(STATUS "DPDK depends on IPSec MB library")
endif()
set(DPDK_LINK_FLAGS "${DPDK_LINK_FLAGS} -Wl,-lnuma")
set_target_properties(dpdk_plugin PROPERTIES LINK_FLAGS "${DPDK_LINK_FLAGS}")
else()
- message("-- DPDK not found - dpdk_plugin disabled")
+ message(WARNING "DPDK not found - dpdk_plugin disabled")
endif()