projects
/
platform
/
upstream
/
nnstreamer-edge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80a6c29
)
CMake: FATAL_ERROR should not be in message string.
author
MyungJoo Ham
<myungjoo.ham@samsung.com>
Wed, 2 Nov 2022 09:43:39 +0000
(18:43 +0900)
committer
jaeyun-jung
<39614140+jaeyun-jung@users.noreply.github.com>
Thu, 3 Nov 2022 01:50:30 +0000
(10:50 +0900)
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 <myungjoo.ham@samsung.com>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index ebd5a18ce3275fdca7f230994f29a49225d1e800..66df73deabb300ed3c04aaa6ea64f93bb6db2ed6 100644
(file)
--- 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()