summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsmbedtls
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/tlsmbedtls
parent74dfaa665bd05e75bd44f5b18376dba053fef15f (diff)
cmake: highlight warning and error messages
Change-Id: Id4b73368382b5e78c138987fe092429af5cb0afd Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/tlsmbedtls')
-rw-r--r--src/plugins/tlsmbedtls/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
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()