diff options
| author | selsta <selsta@sent.at> | 2026-01-19 18:24:56 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2026-01-19 18:24:56 +0100 |
| commit | 053a6d4388098d7471462bdd93b8b4cca2f10c42 (patch) | |
| tree | a7720dfb41674904bb7c142bc61bc446df2da72b /CMakeLists.txt | |
| parent | e984c28fafc224df0f3d9e24a3ed942af5cf929f (diff) | |
| download | monzero-gui-053a6d4388098d7471462bdd93b8b4cca2f10c42.tar.gz monzero-gui-053a6d4388098d7471462bdd93b8b4cca2f10c42.tar.xz monzero-gui-053a6d4388098d7471462bdd93b8b4cca2f10c42.zip | |
cmake: set Qt 5.12 as minimum
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cf0a7e5c..41a8a413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,6 +150,8 @@ if(UNIX) endif() endif() +set(QT_MIN_VERSION "5.12") + find_package(PkgConfig REQUIRED) # TODO: drop this once we switch to Qt 5.14+ @@ -165,7 +167,7 @@ if(Qt5XmlPatterns_FOUND) endif() foreach(QT5_MODULE ${QT5_LIBRARIES}) - find_package(${QT5_MODULE} REQUIRED) + find_package(${QT5_MODULE} ${QT_MIN_VERSION} REQUIRED) include_directories(${${QT5_MODULE}_INCLUDE_DIRS}) endforeach() |
