mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
fix snapcraft build using recent cmake
This commit is contained in:
parent
62afaa8b58
commit
806e28411f
@ -28,15 +28,29 @@ apps:
|
||||
- mount-observe
|
||||
|
||||
parts:
|
||||
meshlab:
|
||||
#plugin: qmake
|
||||
#qt-version: qt5
|
||||
#source: https://github.com/cnr-isti-vclab/meshlab.git
|
||||
source: https://github.com/cnr-isti-vclab/meshlab.git
|
||||
build-snaps: [cmake]
|
||||
cmake:
|
||||
source: https://github.com/Kitware/CMake
|
||||
source-type: git
|
||||
source-depth: 1
|
||||
plugin: cmake
|
||||
stage-packages:
|
||||
- libssl-dev
|
||||
override-build: |
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$SNAPCRAFT_STAGE/cmake \
|
||||
$SNAPCRAFT_PART_SRC
|
||||
make -j 4
|
||||
make install
|
||||
|
||||
meshlab:
|
||||
after: [cmake]
|
||||
plugin: qmake
|
||||
qt-version: qt5
|
||||
source: https://github.com/cnr-isti-vclab/meshlab.git
|
||||
build-packages:
|
||||
- cmake
|
||||
#- cmake
|
||||
- qt5-default
|
||||
- qttools5-dev-tools
|
||||
- qtdeclarative5-dev
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user