Commit a6d6db6b authored by Manuel Grizonnet's avatar Manuel Grizonnet

ENH: remove usage of unknown cmake variable related to qt in qwt find_library

parent 85ecfc1f
......@@ -62,17 +62,11 @@
# either expressed or implied, of the FreeBSD Project.
#=============================================================================
# message( "QWT_INCLUDE_DIR: '${QWT_INCLUDE_DIR}'" )
# message( "QWT_INCLUDE_DIR: '${QT_INCLUDE_DIR}'" )
find_path( QWT_INCLUDE_DIR
NAMES qwt_plot.h
PATH_SUFFIXES qwt
PATH_SUFFIXES qwt-qt5 qwt qwt6
)
# message( "QWT_INCLUDE_DIR: '${QWT_INCLUDE_DIR}'" )
# message( "QWT_INCLUDE_DIR: '${QT_INCLUDE_DIR}'" )
set ( QWT_INCLUDE_DIRS ${QWT_INCLUDE_DIR} )
# version
......@@ -105,7 +99,10 @@ endif ()
find_library ( QWT_LIBRARY
NAMES qwt-qt5 qwt6-qt5 qwt qwt6
HINTS ${QT_LIBRARY_DIR}
PATHS
/usr/lib
/usr/local/lib
/usr/local/lib/qt5
)
set ( QWT_LIBRARIES ${QWT_LIBRARY} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment