summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-04-12 15:59:10 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-12 16:01:45 +0200
commitbc1bcd1fde77bd798b79a2b6776a044de033bd76 (patch)
tree1d82e5dbc85e70702273d5352dfcac131b273311
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.
-rw-r--r--include/ouroboros/wrap/CMakeLists.txt4
-rw-r--r--src/ipcpd/shim-eth-llc/CMakeLists.txt4
-rw-r--r--src/ipcpd/shim-udp/CMakeLists.txt8
3 files changed, 8 insertions, 8 deletions
diff --git a/include/ouroboros/wrap/CMakeLists.txt b/include/ouroboros/wrap/CMakeLists.txt
index fd9368e8..6150fb17 100644
--- a/include/ouroboros/wrap/CMakeLists.txt
+++ b/include/ouroboros/wrap/CMakeLists.txt
@@ -4,7 +4,7 @@ include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_BINARY_DIR}/include)
if (NOT SWIG_FOUND)
- message("-- SWIG not found: Bindings for other languages disabled.")
+ message(STATUS "SWIG not found: Bindings for other languages disabled.")
else ()
include(${SWIG_USE_FILE})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
@@ -12,7 +12,7 @@ else ()
find_package(PythonLibs)
if (NOT PYTHONLIBS_FOUND)
- message("-- Python not found: Python bindings will not be built.")
+ message(STATUS "Python not found: Python bindings will not be built.")
else ()
include_directories(${PYTHON_INCLUDE_PATH})
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 ()