From 5dbc69fb16c71c02859ec8665c55a1e2b068ddd7 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 20 Jul 2015 22:33:39 +0200 Subject: o Adding an application to send samples over MQTT. o Improved CMake build script, better detection and error messages of headers/libraries. Conditionally adding the applications that can be compiled with the given set of found libraries. --- sensor/CMakeLists.txt | 2 +- sensor/test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sensor') diff --git a/sensor/CMakeLists.txt b/sensor/CMakeLists.txt index c814687..d9f2156 100644 --- a/sensor/CMakeLists.txt +++ b/sensor/CMakeLists.txt @@ -10,7 +10,7 @@ target_include_directories(trygvis-sensor PUBLIC "${PROJECT_SOURCE_DIR}/json/src target_include_directories(trygvis-sensor PUBLIC include) # Boost -find_package(Boost COMPONENTS regex system REQUIRED) +find_package(Boost COMPONENTS regex system REQUIRED QUIET) add_subdirectory(test) diff --git a/sensor/test/CMakeLists.txt b/sensor/test/CMakeLists.txt index 5c2d527..53d833c 100644 --- a/sensor/test/CMakeLists.txt +++ b/sensor/test/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Boost COMPONENTS log regex unit_test_framework REQUIRED) +find_package(Boost COMPONENTS log regex unit_test_framework REQUIRED QUIET) # If we can change directory here add_definition and test-specific stuff could be moved to the test directory file(GLOB TEST_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *Test.cpp) -- cgit v1.2.3