diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..179e8eb --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from tests.pro. + +if(NOT TARGET Qt::Test) + cmake_minimum_required(VERSION 3.15.0) + project(QtSerialPortTests VERSION 6.0.0 LANGUAGES C CXX) + find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core SerialPort Test) + find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS Xml) + qt_set_up_standalone_tests_build() +endif() + +qt_build_tests() |