Skip to content

Commit

Permalink
Shared - Fix matplotplusplus build
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Feb 6, 2024
1 parent 254012e commit c7bfa43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flatpak/org.nickvision.money.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_BUILD_TYPE=Release",
"-DMATPLOTPP_BUILD_EXAMPLES=OFF",
"-DMATPLOTPP_BUILD_TESTS=OFF",
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
],
"sources": [
{
Expand Down
3 changes: 3 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ parts:
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DMATPLOTPP_BUILD_EXAMPLES=OFF
- -DMATPLOTPP_BUILD_TESTS=OFF
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
build-environment:
- CPLUS_INCLUDE_PATH: ${CRAFT_STAGE}/include

Expand Down

0 comments on commit c7bfa43

Please sign in to comment.