diff options
author | Chris Robinson <[email protected]> | 2013-06-24 04:47:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-06-24 04:47:36 -0700 |
commit | b3f54124bd151a7ed9e7d2832cb88c72db31a8e8 (patch) | |
tree | cb719e1c6edfde8702029f7c842e4b59d23e0970 /utils/alsoft-config/CMakeLists.txt | |
parent | eebc6c0419c30917f71b7ae741638bdb20c32f58 (diff) |
Require Qt 4.8 or newer for alsoft-config
Diffstat (limited to 'utils/alsoft-config/CMakeLists.txt')
-rw-r--r-- | utils/alsoft-config/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/alsoft-config/CMakeLists.txt b/utils/alsoft-config/CMakeLists.txt index 143834c1..419be91c 100644 --- a/utils/alsoft-config/CMakeLists.txt +++ b/utils/alsoft-config/CMakeLists.txt @@ -2,8 +2,9 @@ project(alsoft-config) include_directories("${alsoft-config_BINARY_DIR}") +# Need Qt 4.8.0 or newer for the iconset theme attribute to work find_package(Qt4 COMPONENTS QtCore QtGui) -if(QT_QTGUI_LIBRARY AND QT_QTCORE_LIBRARY) +if(QT4_FOUND AND ("${QT_VERSION_MAJOR}" GREATER "4" OR ("${QT_VERSION_MAJOR}" EQUAL "4" AND "${QT_VERSION_MINOR}" GREATER "7"))) include(${QT_USE_FILE}) include_directories(${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR}) |