Remove explicit setting of paths for cmake in snapcraft.yaml

This is reported as fixed in snapcraft, thus these paths should be set automatically
This commit is contained in:
Ilya Fedin 2022-09-15 03:32:37 +04:00 committed by John Preston
parent a7c29991db
commit 06d9d04787

View file

@ -126,8 +126,6 @@ parts:
cmake-parameters:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_LIBRARY_PATH=$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET
- -DCMAKE_INCLUDE_PATH=$CRAFT_STAGE/usr/include
- -DTDESKTOP_API_ID=611335
- -DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c
- -DDESKTOP_APP_USE_PACKAGED_LAZY=ON
@ -549,8 +547,6 @@ parts:
cmake-parameters:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_LIBRARY_PATH=$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET
- -DCMAKE_INCLUDE_PATH=$CRAFT_STAGE/usr/include
prime:
- -./usr/include
- -./usr/lib/$CRAFT_ARCH_TRIPLET/cmake