Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and redstrate committed Jan 10, 2024
1 parent 2b053b2 commit d9f0bc9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,21 @@ endif()
find_package(Qt${QT_VERSION_MAJOR}IviCore 1.1 NO_MODULE QUIET) # 1.1 is based on 5.8
find_package(Qt${QT_VERSION_MAJOR}IviVehicleFunctions 1.1 NO_MODULE QUIET)
find_package(Qt${QT_VERSION_MAJOR}IviMedia 1.1 NO_MODULE QUIET)
find_package(Qt${QT_VERSION_MAJOR}Scxml ${Qt${QT_VERSION_MAJOR}_VERSION} EXACT NO_MODULE QUIET)
find_package(
Qt${QT_VERSION_MAJOR}Scxml
${Qt${QT_VERSION_MAJOR}_VERSION}
EXACT
NO_MODULE
QUIET
)
if(QT_VERSION_MAJOR GREATER_EQUAL 6)
find_package(Qt${QT_VERSION_MAJOR}StateMachine ${Qt${QT_VERSION_MAJOR}_VERSION} EXACT NO_MODULE QUIET)
find_package(
Qt${QT_VERSION_MAJOR}StateMachine
${Qt${QT_VERSION_MAJOR}_VERSION}
EXACT
NO_MODULE
QUIET
)
endif()

# if translation/doc host tools are missing, the Qt5 cmake config files throw errors...
Expand Down

0 comments on commit d9f0bc9

Please sign in to comment.