Skip to content

Commit

Permalink
linuxdeployqt: fix find package for Qt (and not QT)
Browse files Browse the repository at this point in the history
  • Loading branch information
NissimBendanan committed May 10, 2023
1 parent 0d0cbda commit 29d427b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/linuxdeployqt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ add_definitions("-DLINUXDEPLOYQT_GIT_COMMIT=\"${GIT_COMMIT}\"")
add_definitions("-DBUILD_DATE=\"${DATE}\"")
add_definitions("-DBUILD_NUMBER=\"${BUILD_NUMBER}\"")

find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
find_package(Qt NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
find_package(Qt${Qt_VERSION_MAJOR} COMPONENTS Core REQUIRED)

option(WORK_OFFLINE "work offline" OFF)
IF(NOT WORK_OFFLINE)
Expand Down

0 comments on commit 29d427b

Please sign in to comment.