summaryrefslogtreecommitdiffstats
path: root/cmake/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindLibdivecomputer.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/Modules/FindLibdivecomputer.cmake b/cmake/Modules/FindLibdivecomputer.cmake
index 1ab0fc5dc..c9cb4ce80 100644
--- a/cmake/Modules/FindLibdivecomputer.cmake
+++ b/cmake/Modules/FindLibdivecomputer.cmake
@@ -14,7 +14,9 @@ IF ( LIBDIVECOMPUTER_INCLUDE_DIR AND LIBDIVECOMPUTER_LIBRARIES )
ENDIF ( LIBDIVECOMPUTER_INCLUDE_DIR AND LIBDIVECOMPUTER_LIBRARIES )
FIND_PATH( LIBDIVECOMPUTER_INCLUDE_DIR
-NAMES libdivecomputer/hw.h
+NAMES
+ libdivecomputer/device.h
+ libdivecomputer/descriptor.h
HINTS
${CMAKE_CURRENT_SOURCE_DIR}/../install-root/include
${CMAKE_CURRENT_SOURCE_DIR}/../libdivecomputer/include/