Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enhance header detection in FindQwt.cmake and FindZSTD.cmake
  • Loading branch information
manisandro committed Sep 30, 2021
1 parent c5bb41d commit 721c10a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindQwt.cmake
Expand Up @@ -37,7 +37,7 @@ FIND_PATH(QWT_INCLUDE_DIR NAMES qwt.h PATHS
/usr/local/include/qt5
"$ENV{LIB_DIR}/include"
"$ENV{INCLUDE}"
PATH_SUFFIXES qwt-qt5 qwt qwt6
PATH_SUFFIXES qwt-qt5 qwt qwt6 qt5/qwt
)

IF (QWT_INCLUDE_DIR AND QWT_LIBRARY)
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindZSTD.cmake
Expand Up @@ -13,10 +13,13 @@

FIND_PATH(ZSTD_INCLUDE_DIR
zstd.h
PATHS
"$ENV{LIB_DIR}/include"
"$ENV{INCLUDE}"
/usr/local/include
/usr/include
PATH_SUFFIXES
zstd
)

FIND_LIBRARY(ZSTD_LIBRARY NAMES zstd PATHS "$ENV{LIB_DIR}/lib" "$ENV{LIB}" /usr/local/lib /usr/lib )
Expand Down

0 comments on commit 721c10a

Please sign in to comment.