From 9f540ed348e3a3ef01951208211603a07fd574d6 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 18 Aug 2018 14:36:57 +0200 Subject: cmake: highlight warning and error messages Change-Id: Id4b73368382b5e78c138987fe092429af5cb0afd Signed-off-by: Damjan Marion --- src/plugins/marvell/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/plugins/marvell') diff --git a/src/plugins/marvell/CMakeLists.txt b/src/plugins/marvell/CMakeLists.txt index 283a1aa000d..8767a4fd2b6 100644 --- a/src/plugins/marvell/CMakeLists.txt +++ b/src/plugins/marvell/CMakeLists.txt @@ -11,7 +11,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -message("-- Looking for Marvell musdk") find_path(MUSDK_INCLUDE_DIR NAMES marvell/pp2/pp2.h) find_library(MUSDK_LIB NAMES musdk) @@ -26,7 +25,7 @@ if(MUSDK_INCLUDE_DIR AND MUSDK_LIB) pp2/pp2.c ) include_directories(${MUSDK_INCLUDE_DIR}) - message("-- Looking for Marvell musdk - found") + message(STATUS "Found Marvel MUSDK in ${MUSDK_INCLUDE_DIR}") else() - message("-- Looking for Marvell musdk - not found - marvell_plugin disabled") + message(WARNING "Marvell MUSDK not found - marvell_plugin disabled") endif() -- cgit 1.2.3-korg