mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Small changes to the build-script
- libgits version bump to 0.22 (0.21.5 didn't worked here) - call cmake in build.sh instead of qmake. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c2bdc58fb8
commit
fe37ce02d1
1 changed files with 4 additions and 2 deletions
|
@ -45,7 +45,7 @@ if [ ! -d libgit2 ] ; then
|
|||
fi
|
||||
fi
|
||||
cd libgit2
|
||||
git checkout v0.21.5
|
||||
git checkout v0.22.0
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$SRC/install -DCMAKE_BUILD_TYPE=Release -DBUILD_CLAR=OFF ..
|
||||
|
@ -97,6 +97,8 @@ make -j4
|
|||
make install
|
||||
|
||||
cd $SRC/subsurface
|
||||
$QMAKE CONFIG+=setRpath LIBDCDEVEL=1 LIBMARBLEDEVEL=$SRC/install SPECIAL_MARBLE_PREFIX=1 LIBGIT2DEVEL=$SRC/libgit2 subsurface.pro
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$SRC/install ..
|
||||
make -j4
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue