Skip to content

Commit

Permalink
Switch to Clang and update libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-paul committed Mar 26, 2023
1 parent 5f44654 commit 69891e3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions snap/snapcraft.yaml
Expand Up @@ -95,7 +95,7 @@ parts:
]
override-build: |
git -C "${SNAPCRAFT_PART_SRC}" submodule update --init --recursive
cmake ${SNAPCRAFT_PART_SRC} \
CC=clang CXX=clang++ cmake ${SNAPCRAFT_PART_SRC} \
-G 'Unix Makefiles' \
-DCMAKE_PREFIX_PATH="${SNAPCRAFT_STAGE}/usr" \
-DCMAKE_INSTALL_PREFIX=/usr \
Expand All @@ -108,13 +108,13 @@ parts:
after: [ desktop-qt5, opencsg, cgal, lib3mf ]
build-packages:
- git
- clang
- qt5-default
- qtbase5-dev
- qtmultimedia5-dev
- libqt5svg5-dev
- libqt5opengl5-dev
- libqt5gamepad5-dev
- qt5-qmake
- libeigen3-dev
- libglib2.0-dev
- bison
Expand All @@ -135,6 +135,7 @@ parts:
- gettext
- pkg-config
- imagemagick
- libtbb-dev
- libzip-dev
- libgl-dev
- libxml2-dev
Expand All @@ -156,17 +157,22 @@ parts:
- libglvnd0
- libopengl0
- libmpfr6
- libgmpxx4ldbl
- libogg0
- libpulse0
- libqt5svg5
- libqt5opengl5
- libqt5gamepad5
- libqt5concurrent5
- libqt5multimedia5
- libqt5printsupport5
- libqscintilla2-qt5-15
- libsndfile1
- libvorbis0a
- libvorbisenc2
- libzip5
- libtbb2
- libatomic1

# https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/snapcraft.yaml
desktop-qt5:
Expand Down

0 comments on commit 69891e3

Please sign in to comment.