mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Looking for qwt named as qwt6, also in /usr/lib64
Adding /usr/lib64 as a possible search location for libqwt (in Gentoo, generally 32 bit libraries reside in /usr/lib, and 64 bit, in /usr/lib64; there might be other distributions that operate the same way). Also, qwt might be named "libqwt6".
This commit is contained in:
parent
6265b1976e
commit
62f4fa1cd0
@ -12,12 +12,13 @@
|
||||
#
|
||||
|
||||
|
||||
set(QWT_LIBRARY_NAMES qwt-${QT_VERSION_BASE_LOWER} qwt qwt6)
|
||||
set(QWT_LIBRARY_NAMES qwt-${QT_VERSION_BASE_LOWER} qwt qwt6 qwt6-${QT_VERSION_BASE_LOWER})
|
||||
|
||||
find_library(QWT_LIBRARY
|
||||
NAMES ${QWT_LIBRARY_NAMES}
|
||||
PATHS
|
||||
/usr/lib
|
||||
/usr/lib64
|
||||
/usr/local/lib
|
||||
/usr/local/lib/${QT_VERSION_BASE_LOWER}
|
||||
"$ENV{LIB_DIR}/lib"
|
||||
|
Loading…
x
Reference in New Issue
Block a user