From 7b9d5ef7c79f66dee4b89185ea69623abea34e85 Mon Sep 17 00:00:00 2001 From: Paolo Bosetti Date: Thu, 27 Jun 2024 09:54:01 +0200 Subject: [PATCH] chore: Update CMakeLists.txt to fix conditional statement --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f7b673..cac7650 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,7 +125,7 @@ add_plugin(clock) add_plugin(to_console) add_plugin(random) add_plugin(running_avg) -if(NOT WIN32 && NOT MADS_NO_DEPS_ONLY) +if(NOT WIN32 AND NOT MADS_NO_DEPS_ONLY) # Serial port plugin is not supported on Windows add_plugin(serial_reader SRCS ${SRC_DIR}/serialport.cpp) add_plugin(mqtt LIBS mosquittopp)