summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-04-12 15:59:10 +0200
committerSander Vrijders <[email protected]>2017-04-12 16:01:45 +0200
commitbc1bcd1fde77bd798b79a2b6776a044de033bd76 (patch)
tree1d82e5dbc85e70702273d5352dfcac131b273311 /src
parentbbe2b2be8814c1c2bcc318e47715f7224b47cc5a (diff)
downloadouroboros-bc1bcd1fde77bd798b79a2b6776a044de033bd76.tar.gz
ouroboros-bc1bcd1fde77bd798b79a2b6776a044de033bd76.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/shim-eth-llc/CMakeLists.txt4
-rw-r--r--src/ipcpd/shim-udp/CMakeLists.txt8
2 files changed, 6 insertions, 6 deletions
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 ()