summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindLibdivecomputer.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/FindLibdivecomputer.cmake')
-rw-r--r--cmake/Modules/FindLibdivecomputer.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/FindLibdivecomputer.cmake b/cmake/Modules/FindLibdivecomputer.cmake
index 07e36f21f..d470cccdb 100644
--- a/cmake/Modules/FindLibdivecomputer.cmake
+++ b/cmake/Modules/FindLibdivecomputer.cmake
@@ -16,6 +16,7 @@ ENDIF ( LIBDIVECOMPUTER_INCLUDE_DIR AND LIBDIVECOMPUTER_LIBRARIES )
FIND_PATH( LIBDIVECOMPUTER_INCLUDE_DIR
NAMES libdivecomputer/hw.h
HINTS
+ ${CMAKE_CURRENT_SOURCE_DIR}/../install/include
${CMAKE_CURRENT_SOURCE_DIR}/../libdivecomputer/include/
/usr/local/include
/usr/include
@@ -26,6 +27,7 @@ NAMES
libdivecomputer.a
divecomputer
HINTS
+ ${CMAKE_CURRENT_SOURCE_DIR}/../install/lib
${CMAKE_CURRENT_SOURCE_DIR}/../libdivecomputer/src/.libs/
/usr/local/include
/usr/include