diff options
author | Zero_Chaos <sidhayn@gmail.com> | 2015-02-20 15:54:00 -0500 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-02-20 15:03:31 -0800 |
commit | 4a1d5aafbbee9a5ff181251830d20b34894b6095 (patch) | |
tree | 16983db07e523935e3ebd1687b0c05f4d0235fda /cmake/Modules | |
parent | 3f4cec961c359ca51b46bd9a5b15d5bfd43c7673 (diff) |
Update FindQwt.cmake to support qwt6-qt4
allow finding qwt6-qt4 library. Some distros have added support for both qt4 and qt5 in qwt6, the common name the library uses appears to be qwt6-qt4. The pre-existance of the qwt-qt4 entry suggests this naming convention is reasonably standard (or at least this isn't a unique hack)
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/FindQwt.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindQwt.cmake b/cmake/Modules/FindQwt.cmake index 68f55bf14a..3ce49aa04b 100644 --- a/cmake/Modules/FindQwt.cmake +++ b/cmake/Modules/FindQwt.cmake @@ -22,7 +22,7 @@ find_path(QWT_INCLUDE_DIRS ) find_library (QWT_LIBRARIES - NAMES qwt6 qwt qwt-qt4 + NAMES qwt6 qwt6-qt4 qwt qwt-qt4 HINTS ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/lib64 |