Updated FindQwt to include add'l search paths
This commit is contained in:
parent
719d52b6dd
commit
eb63b0034f
@ -4,23 +4,34 @@
|
|||||||
# QWT_FOUND If false, do not try to use Qwt
|
# QWT_FOUND If false, do not try to use Qwt
|
||||||
|
|
||||||
find_path (QWT_INCLUDE_DIRS
|
find_path (QWT_INCLUDE_DIRS
|
||||||
NAMES qwt_plot.h
|
NAMES qwt_plot.h
|
||||||
PATHS
|
HINTS
|
||||||
/usr/local/include/qwt-qt4
|
${CMAKE_INSTALL_PREFIX}/include/qwt
|
||||||
/usr/local/include/qwt
|
${CMAKE_PREFIX_PATH}/include/qwt
|
||||||
/usr/include/qwt-qt4
|
PATHS
|
||||||
/usr/include/qwt
|
/usr/local/include/qwt-qt4
|
||||||
/opt/local/include/qwt
|
/usr/local/include/qwt
|
||||||
/sw/include/qwt
|
/usr/include/qwt6
|
||||||
|
/usr/include/qwt-qt4
|
||||||
|
/usr/include/qwt
|
||||||
|
/usr/include/qwt5
|
||||||
|
/opt/local/include/qwt
|
||||||
|
/sw/include/qwt
|
||||||
|
/usr/local/lib/qwt.framework/Headers
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library (QWT_LIBRARIES
|
find_library (QWT_LIBRARIES
|
||||||
NAMES qwt-qt4 qwt
|
NAMES qwt6 qwt6-qt4 qwt qwt-qt4 qwt5 qwtd5
|
||||||
PATHS
|
HINTS
|
||||||
/usr/local/lib
|
${CMAKE_INSTALL_PREFIX}/lib
|
||||||
/usr/lib
|
${CMAKE_INSTALL_PREFIX}/lib64
|
||||||
/opt/local/lib
|
${CMAKE_PREFIX_PATH}/lib
|
||||||
/sw/lib
|
PATHS
|
||||||
|
/usr/local/lib
|
||||||
|
/usr/lib
|
||||||
|
/opt/local/lib
|
||||||
|
/sw/lib
|
||||||
|
/usr/local/lib/qwt.framework
|
||||||
)
|
)
|
||||||
|
|
||||||
# handle the QUIETLY and REQUIRED arguments and set QWT_FOUND to TRUE if
|
# handle the QUIETLY and REQUIRED arguments and set QWT_FOUND to TRUE if
|
||||||
|
Loading…
Reference in New Issue
Block a user