summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindLibdivecomputer.cmake
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-09 15:00:52 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-09 15:30:48 -0700
commit435ec2cbc2d879b1f6b0fa00394846ddfbf9c7be (patch)
treece1c0855428682bb9a553f5507093547d2723bff /cmake/Modules/FindLibdivecomputer.cmake
parent68ec73f1b06ff8a9cec9fb7def25eedf492b9610 (diff)
downloadsubsurface-435ec2cbc2d879b1f6b0fa00394846ddfbf9c7be.tar.gz
build.sh: use "install-root" for our local install destination
This seems less confusing then calling it just "install". Also adjust our cmake/Modules/Find... files accordingly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'cmake/Modules/FindLibdivecomputer.cmake')
-rw-r--r--cmake/Modules/FindLibdivecomputer.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/FindLibdivecomputer.cmake b/cmake/Modules/FindLibdivecomputer.cmake
index d470cccdb..1ab0fc5dc 100644
--- a/cmake/Modules/FindLibdivecomputer.cmake
+++ b/cmake/Modules/FindLibdivecomputer.cmake
@@ -16,7 +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}/../install-root/include
${CMAKE_CURRENT_SOURCE_DIR}/../libdivecomputer/include/
/usr/local/include
/usr/include
@@ -27,7 +27,7 @@ NAMES
libdivecomputer.a
divecomputer
HINTS
- ${CMAKE_CURRENT_SOURCE_DIR}/../install/lib
+ ${CMAKE_CURRENT_SOURCE_DIR}/../install-root/lib
${CMAKE_CURRENT_SOURCE_DIR}/../libdivecomputer/src/.libs/
/usr/local/include
/usr/include