Skip to content

Commit e174768

Browse files
committed
fix: Properly set CMAKE_INSTALL_PREFIX
1 parent 9f34aa1 commit e174768

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

snap/snapcraft.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ parts:
142142
source: https://github.com/lemonade-sdk/lemonade.git
143143
cmake-parameters:
144144
- -DCMAKE_PREFIX_PATH=/usr
145+
- -DCMAKE_INSTALL_PREFIX=/usr
145146
build-packages:
146147
- build-essential
147148
- g++
@@ -162,9 +163,6 @@ parts:
162163
fi
163164
override-build: |
164165
craftctl default
165-
mkdir -p $CRAFT_PART_INSTALL/usr/{bin,share}
166-
mv $CRAFT_PART_INSTALL/usr/local/bin/* $CRAFT_PART_INSTALL/usr/bin/
167-
mv $CRAFT_PART_INSTALL/usr/local/share/* $CRAFT_PART_INSTALL/usr/share/
168166
169167
scripts:
170168
plugin: dump

0 commit comments

Comments
 (0)