From 1cada7847e0325499eaedcffca47a8d9fa8400b7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 4 Sep 2015 12:13:02 -0700 Subject: Build script: make sure we find the cmake files for our libraries This way cmake should pick the right libraries that we built earlier in the process. Signed-off-by: Dirk Hohndel --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/build.sh') diff --git a/scripts/build.sh b/scripts/build.sh index 8167a0aee..639978c1f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -200,6 +200,7 @@ fi cd $SRC/subsurface mkdir -p build cd build +export CMAKE_PREFIX_PATH=$INSTALL_ROOT/lib/cmake cmake -DCMAKE_BUILD_TYPE=Debug .. \ -DLIBGIT2_INCLUDE_DIR=$INSTALL_ROOT/include \ -DLIBGIT2_LIBRARIES=$INSTALL_ROOT/lib/libgit2.$SH_LIB_EXT \ -- cgit v1.2.3-70-g09d2