diff --git a/code/3rd_QGLViewer/CMakeLists.txt b/code/3rd_QGLViewer/CMakeLists.txt index 81ddf2cf..68d07341 100644 --- a/code/3rd_QGLViewer/CMakeLists.txt +++ b/code/3rd_QGLViewer/CMakeLists.txt @@ -22,7 +22,7 @@ if (Qt6_FOUND) message(STATUS "Building with Qt6") set(QtLibs Qt::Core Qt::Widgets Qt::Xml Qt::OpenGL Qt::OpenGLWidgets) else() - find_package(Qt5 5.15 REQUIRED COMPONENTS Core Widgets Xml OpenGL) + find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml OpenGL) message("Building with Qt5") set(QtLibs Qt::Core Qt::Widgets Qt::Xml Qt::OpenGL) endif() diff --git a/code/PolyFit/CMakeLists.txt b/code/PolyFit/CMakeLists.txt index 5b9dc360..31f757c9 100644 --- a/code/PolyFit/CMakeLists.txt +++ b/code/PolyFit/CMakeLists.txt @@ -20,7 +20,7 @@ if (Qt6_FOUND) message(STATUS "Building with Qt6") set(QtLibs Qt::Core Qt::Widgets Qt::Xml Qt::OpenGL Qt::OpenGLWidgets) else() - find_package(Qt5 5.15 REQUIRED COMPONENTS Core Widgets Xml OpenGL) + find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml OpenGL) message("Building with Qt5") set(QtLibs Qt::Core Qt::Widgets Qt::Xml Qt::OpenGL) endif()