From 77dadc6ff9ade7b33ff7b3c7d4bf7965e2e4717d Mon Sep 17 00:00:00 2001 From: brindosch Date: Fri, 13 Oct 2017 01:04:53 +0200 Subject: [PATCH] Fix Qt5::Serialport not found on RPi (again) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e34b8fd..98914fb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,7 +232,7 @@ endif () # add QT5 dependency SET(QT_MIN_VERSION "5.2.0") -find_package(Qt5 COMPONENTS Core Gui Network REQUIRED) +find_package(Qt5 COMPONENTS Core Gui Network SerialPort REQUIRED) message( STATUS "Found Qt Version: ${Qt5Core_VERSION}" ) IF ( "${Qt5Core_VERSION}" VERSION_LESS "${QT_MIN_VERSION}" ) message( FATAL_ERROR "Your Qt version is to old! Minimum required ${QT_MIN_VERSION}" )