Skip to content

Commit

Permalink
no specific version of Qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Dec 14, 2024
1 parent 8874e65 commit 93c9650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/3rd_QGLViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion code/PolyFit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 93c9650

Please sign in to comment.