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() 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