Skip to content

Commit

Permalink
Check Qt version via cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
sur5r committed Feb 16, 2021
1 parent ff32980 commit 765bb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ set(Icon_Resource exe/fstl.rc)
set(OpenGL_GL_PREFERENCE GLVND)

#find required packages.
find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets OpenGL)
find_package(Qt5 5.14 REQUIRED COMPONENTS Core Gui Widgets OpenGL)
find_package(OpenGL REQUIRED)
find_package(Threads REQUIRED)

Expand Down

0 comments on commit 765bb8d

Please sign in to comment.