mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
34930c0110
commit
1cada7847e
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ fi
|
||||||
cd $SRC/subsurface
|
cd $SRC/subsurface
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
|
export CMAKE_PREFIX_PATH=$INSTALL_ROOT/lib/cmake
|
||||||
cmake -DCMAKE_BUILD_TYPE=Debug .. \
|
cmake -DCMAKE_BUILD_TYPE=Debug .. \
|
||||||
-DLIBGIT2_INCLUDE_DIR=$INSTALL_ROOT/include \
|
-DLIBGIT2_INCLUDE_DIR=$INSTALL_ROOT/include \
|
||||||
-DLIBGIT2_LIBRARIES=$INSTALL_ROOT/lib/libgit2.$SH_LIB_EXT \
|
-DLIBGIT2_LIBRARIES=$INSTALL_ROOT/lib/libgit2.$SH_LIB_EXT \
|
||||||
|
|
Loading…
Add table
Reference in a new issue