summaryrefslogtreecommitdiff
path: root/cmake/Modules/FindGSM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/FindGSM.cmake')
-rw-r--r--cmake/Modules/FindGSM.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmake/Modules/FindGSM.cmake b/cmake/Modules/FindGSM.cmake
index 92898d6320..58e86de861 100644
--- a/cmake/Modules/FindGSM.cmake
+++ b/cmake/Modules/FindGSM.cmake
@@ -17,17 +17,16 @@ INCLUDE(FindPackageHandleStandardArgs)
pkg_check_modules(LIBGSM_PKG QUIET gsm)
find_path(LIBGSM_INCLUDE_DIR NAMES gsm.h
+ HINTS ${LIBGSM_PKG_INCLUDE_DIRS}
PATHS
- ${LIBGSM_PKG_INCLUDE_DIRS}
- /usr/local/include/gsm
/usr/local/include
- /usr/include/gsm
/usr/include
+ PATH_SUFFIXES gsm
)
find_library(LIBGSM_LIBRARIES NAMES gsm
+ HINTS ${LIBGSM_PKG_LIBRARY_DIRS}
PATHS
- ${LIBGSM_PKG_LIBRARY_DIRS}
/usr/local/lib
/usr/lib
)