From bc1bcd1fde77bd798b79a2b6776a044de033bd76 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Wed, 12 Apr 2017 15:59:10 +0200 Subject: build: Add STATUS to message statements This adds the STATUS variable to the message() call in CMakeLists.txt in places where it was missing. This ensures that the message is printed to stdout instead of stderr. --- src/ipcpd/shim-eth-llc/CMakeLists.txt | 4 ++-- src/ipcpd/shim-udp/CMakeLists.txt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ipcpd') diff --git a/src/ipcpd/shim-eth-llc/CMakeLists.txt b/src/ipcpd/shim-eth-llc/CMakeLists.txt index b3abc052..08f50c04 100644 --- a/src/ipcpd/shim-eth-llc/CMakeLists.txt +++ b/src/ipcpd/shim-eth-llc/CMakeLists.txt @@ -33,9 +33,9 @@ target_link_libraries(ipcpd-shim-eth-llc LINK_PUBLIC ouroboros ${PROTOBUF_C_LIBRARY}) if (${NETMAP_C_INCLUDE_DIR} STREQUAL "NETMAP_C_INCLUDE_DIR-NOTFOUND") - message("-- Could not find netmap. Install for better performance.") + message(STATUS "Could not find netmap. Install for better performance.") else () - message("-- Found netmap headers in ${NETMAP_C_INCLUDE_DIR}") + message(STATUS "Found netmap headers in ${NETMAP_C_INCLUDE_DIR}") include_directories(${NETMAP_C_INCLUDE_DIR}) add_compile_flags(ipcpd-shim-eth-llc -DHAVE_NETMAP) test_and_set_c_compiler_flag_global(-std=c99) diff --git a/src/ipcpd/shim-udp/CMakeLists.txt b/src/ipcpd/shim-udp/CMakeLists.txt index 2560f242..3ff8dd5f 100644 --- a/src/ipcpd/shim-udp/CMakeLists.txt +++ b/src/ipcpd/shim-udp/CMakeLists.txt @@ -42,12 +42,12 @@ find_program(NSLOOKUP_EXECUTABLE include(AddCompileFlags) if (${NSUPDATE_EXECUTABLE} STREQUAL "NSUPDATE_EXECUTABLE-NOTFOUND") - message("-- Could not find nsupdate. Disabling DDNS functionality.") + message(STATUS "Could not find nsupdate. Disabling DDNS functionality.") elseif (${NSLOOKUP_EXECUTABLE} STREQUAL "NSLOOKUP_EXECUTABLE-NOTFOUND") - message("-- Could not find nslookup. Disabling DNS lookups.") + message(STATUS "Could not find nslookup. Disabling DNS lookups.") else () - message("-- Found nsupdate: ${NSUPDATE_EXECUTABLE}") - message("-- Found nslookup: ${NSLOOKUP_EXECUTABLE}") + message(STATUS "Found nsupdate: ${NSUPDATE_EXECUTABLE}") + message(STATUS "Found nslookup: ${NSLOOKUP_EXECUTABLE}") add_compile_flags(ipcpd-shim-udp -DCONFIG_OUROBOROS_ENABLE_DNS) endif () -- cgit v1.2.3