From 7e94776d1625f91884b7f3d1ecadc3139bbd2dc7 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 7 Apr 2025 11:41:35 +0200 Subject: [PATCH 1/2] Fix wrong OR to AND in BUILD_TESTING and PROJECT_IS_TOP_LEVEL logic --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69c4454..cf413d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,6 +137,6 @@ include(CTest) # or if serial_cpp_FORCE_RESPECT_BUILD_TESTING is ON, so if you include the project # via FetchContent or add_subdirectory and if you want to compile tests, you # need to set both BUILD_TESTING and serial_cpp_FORCE_RESPECT_BUILD_TESTING to ON -if(BUILD_TESTING OR (PROJECT_IS_TOP_LEVEL OR serial_cpp_FORCE_RESPECT_BUILD_TESTING)) +if(BUILD_TESTING AND (PROJECT_IS_TOP_LEVEL OR serial_cpp_FORCE_RESPECT_BUILD_TESTING)) add_subdirectory(tests) endif() From ff750c2ae69b21654ca98e4ed8d0b94b23b8ae59 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 7 Apr 2025 11:42:35 +0200 Subject: [PATCH 2/2] Release 1.3.3 --- README.md | 2 +- package.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c53c67..3dc9a9e 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ include(FetchContent) FetchContent_Declare( serial_cpp GIT_REPOSITORY https://github.com/ami-iit/serial_cpp.git - GIT_TAG v1.3.2 # or use the tag or commit you prefer + GIT_TAG v1.3.3 # or use the tag or commit you prefer ) FetchContent_MakeAvailable(serial_cpp) diff --git a/package.xml b/package.xml index 905abee..d960d71 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ serial_cpp - 1.3.2 + 1.3.3 serial_cpp is a cross-platform, simple to use library for using serial ports on computers. This library provides a C++, object oriented interface for interacting with RS-232