From 9f540ed348e3a3ef01951208211603a07fd574d6 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 18 Aug 2018 14:36:57 +0200 Subject: cmake: highlight warning and error messages Change-Id: Id4b73368382b5e78c138987fe092429af5cb0afd Signed-off-by: Damjan Marion --- src/plugins/tlsmbedtls/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/tlsmbedtls') 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() -- cgit 1.2.3-korg