summaryrefslogtreecommitdiffstats
path: root/src/plugins
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
parent74dfaa665bd05e75bd44f5b18376dba053fef15f (diff)
cmake: highlight warning and error messages
Change-Id: Id4b73368382b5e78c138987fe092429af5cb0afd Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk/CMakeLists.txt6
-rw-r--r--src/plugins/marvell/CMakeLists.txt5
-rw-r--r--src/plugins/tlsmbedtls/CMakeLists.txt6
3 files changed, 8 insertions, 9 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()
diff --git a/src/plugins/marvell/CMakeLists.txt b/src/plugins/marvell/CMakeLists.txt
index 283a1aa000d..8767a4fd2b6 100644
--- a/src/plugins/marvell/CMakeLists.txt
+++ b/src/plugins/marvell/CMakeLists.txt
@@ -11,7 +11,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-message("-- Looking for Marvell musdk")
find_path(MUSDK_INCLUDE_DIR NAMES marvell/pp2/pp2.h)
find_library(MUSDK_LIB NAMES musdk)
@@ -26,7 +25,7 @@ if(MUSDK_INCLUDE_DIR AND MUSDK_LIB)
pp2/pp2.c
)
include_directories(${MUSDK_INCLUDE_DIR})
- message("-- Looking for Marvell musdk - found")
+ message(STATUS "Found Marvel MUSDK in ${MUSDK_INCLUDE_DIR}")
else()
- message("-- Looking for Marvell musdk - not found - marvell_plugin disabled")
+ message(WARNING "Marvell MUSDK not found - marvell_plugin disabled")
endif()
diff --git a/src/plugins/tlsmbedtls/CMakeLists.txt b/src/plugins/tlsmbedtls/CMakeLists.txt
index 6b65f8fecb9..03f8a17fe86 100644
--- a/src/plugins/tlsmbedtls/CMakeLists.txt
+++ b/src/plugins/tlsmbedtls/CMakeLists.txt
@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-message("-- Looking for mbedTLS")
+message(STATUS "Looking for mbedTLS")
find_path(MBEDTLS_INCLUDE_DIR NAMES mbedtls/ssl.h)
find_library(MBEDTLS_LIB1 NAMES mbedtls)
find_library(MBEDTLS_LIB2 NAMES mbedx509)
@@ -23,8 +23,8 @@ if(MBEDTLS_INCLUDE_DIR AND MBEDTLS_LIB)
include_directories(${MBEDTLS_INCLUDE_DIR})
add_vpp_plugin(tlsmbedtls_plugin tls_mbedtls.c)
target_link_libraries(tlsmbedtls_plugin ${MBEDTLS_LIB})
- message("-- Found mbedTLS in ${MBEDTLS_INCLUDE_DIR}")
+ message(STATUS "Found mbedTLS in ${MBEDTLS_INCLUDE_DIR}")
else()
- message("-- mbedTLS not found - tlsmbedtls_plugin disabled")
+ message(WARNING "-- mbedTLS not found - tlsmbedtls_plugin disabled")
endif()