From 3deba3358a8e41acfc6eb18ec8c9dcf2519a8c1a Mon Sep 17 00:00:00 2001 From: keith siilats Date: Sun, 23 Apr 2023 11:11:07 -0400 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f14ec80..518436d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,9 +5,10 @@ set(PACKAGE_NAME z1_controller) set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O3") # ----------------------options---------------------- +if (NOT COMMUNICATION) set(COMMUNICATION UDP) # UDP # set(COMMUNICATION ROS) # ROS - +endif() # ----------------------configurations---------------------- # COMMUNICATION