diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-09-04 12:13:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-06 07:53:18 -0700 |
commit | 1cada7847e0325499eaedcffca47a8d9fa8400b7 (patch) | |
tree | 51f36f93077582b30d9f89a7dbf9a58ce870f366 | |
parent | 34930c0110c947cc7fb5e1e15e0c80d39df40103 (diff) | |
download | subsurface-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-x | scripts/build.sh | 1 |
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 \ |