Skip to content

Commit

Permalink
fix cmake find qwt6
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Dec 30, 2022
1 parent 0dffc59 commit f716f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FindQwt.cmake
Expand Up @@ -12,7 +12,7 @@
#


set(QWT_LIBRARY_NAMES qwt-${QT_VERSION_BASE_LOWER} qwt)
set(QWT_LIBRARY_NAMES qwt-${QT_VERSION_BASE_LOWER} qwt qwt6)

find_library(QWT_LIBRARY
NAMES ${QWT_LIBRARY_NAMES}
Expand All @@ -37,7 +37,7 @@ FIND_PATH(QWT_INCLUDE_DIR NAMES qwt.h PATHS
/usr/local/include/${QT_VERSION_BASE_LOWER}
"$ENV{LIB_DIR}/include"
"$ENV{INCLUDE}"
PATH_SUFFIXES qwt-${QT_VERSION_BASE_LOWER} ${QT_VERSION_BASE_LOWER}/qwt qwt
PATH_SUFFIXES qwt-${QT_VERSION_BASE_LOWER} ${QT_VERSION_BASE_LOWER}/qwt qwt qwt6
)

IF (QWT_INCLUDE_DIR AND QWT_LIBRARY)
Expand Down

0 comments on commit f716f6c

Please sign in to comment.