aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-04 12:13:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-06 07:53:18 -0700
commit1cada7847e0325499eaedcffca47a8d9fa8400b7 (patch)
tree51f36f93077582b30d9f89a7dbf9a58ce870f366
parent34930c0110c947cc7fb5e1e15e0c80d39df40103 (diff)
downloadsubsurface-1cada7847e0325499eaedcffca47a8d9fa8400b7.tar.gz
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 <dirk@hohndel.org>
-rwxr-xr-xscripts/build.sh1
1 files changed, 1 insertions, 0 deletions
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 \