diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index adf0365..0d32a0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,6 +152,10 @@ set(CPACK_DEBIAN_PACKAGE_SECTION utils) # CPack RPM configuration set(CPACK_RPM_FILE_NAME RPM-DEFAULT) -# TODO set CPACK_RPM_PACKAGE_REQUIRES +if(QT_VERSION_MAJOR VERSION_EQUAL 5) + set(CPACK_RPM_PACKAGE_REQUIRES "qt5-qtsvg >= 5.4") +elseif(QT_VERSION_MAJOR VERSION_EQUAL 6) + set(CPACK_RPM_PACKAGE_REQUIRES "qt6-qtsvg") +endif() include(CPack) |