Tweak FindBoostrap.cmake to detect Qwt under Linux Mint.

This commit is contained in:
Jean-Paul Chaput 2019-05-10 12:12:30 +02:00
parent 1360479eed
commit 9bcc81eb7d
1 changed files with 4 additions and 3 deletions

View File

@ -260,14 +260,15 @@
PATHS /usr/include/qt5
/usr/include
PATH_SUFFIXES qwt )
find_library(QWT_LIBRARY NAMES qwt-qt5
find_library(QWT_LIBRARY NAMES qwt-qt5 qwt
PATHS /usr/lib${LIB_SUFFIX} )
else()
find_path(QWT_INCLUDE_DIR NAMES qwt.h
PATHS /usr/include
PATHS /usr/include/qwt-qt4
/usr/include/qt4
/usr/include
PATH_SUFFIXES qwt )
find_library(QWT_LIBRARY NAMES qwt
find_library(QWT_LIBRARY NAMES qwt-qt4 qwt
PATHS /usr/lib${LIB_SUFFIX} )
endif()