mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Use QT_DEFAULT_MAJOR_VERSION
This commit is contained in:
@@ -7,5 +7,5 @@ add_executable(HotkeyTest
|
||||
hottestwidget.cpp
|
||||
hottestwidget.ui)
|
||||
|
||||
find_package(Qt${QT_MAJOR} COMPONENTS Widgets REQUIRED)
|
||||
target_link_libraries(HotkeyTest Qt${QT_MAJOR}::Widgets QHotkey::QHotkey)
|
||||
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS Widgets REQUIRED)
|
||||
target_link_libraries(HotkeyTest Qt${QT_DEFAULT_MAJOR_VERSION}::Widgets QHotkey::QHotkey)
|
||||
|
||||
Reference in New Issue
Block a user