From: MyungJoo Ham Date: Wed, 2 Nov 2022 09:43:39 +0000 (+0900) Subject: CMake: FATAL_ERROR should not be in message string. X-Git-Tag: accepted/tizen/unified/20221115.172904~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97f87cf98ecd7f85c920811805fdc39081db2ca5;p=platform%2Fupstream%2Fnnstreamer-edge.git CMake: FATAL_ERROR should not be in message string. It should be given as the optional mode argument. Refer to https://cmake.org/cmake/help/v3.0/command/message.html Signed-off-by: MyungJoo Ham --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ebd5a18..66df73d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ IF(MQTT_SUPPORT) FIND_LIBRARY(PAHO_MQTT_LIB NAMES paho-mqtt3a paho-mqtt3c paho-mqtt3as paho-mqtt3cs) IF(NOT PAHO_MQTT_LIB) - MESSAGE("FATAL_ERROR Cannot find paho-mqtt-c and mosquitto library.") + MESSAGE(FATAL_ERROR "Cannot find paho-mqtt-c and mosquitto library.") ELSE() MESSAGE("Found Paho MQTT library.") ENDIF()