You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, by default the CMake build script will look for libpng. If it cannot find it then it will disable support for PNG output.
81
+
82
+
You may choose to explicitly disable or enable PNG support with the `SAXBOSPIRAL_PNG_SUPPORT` CMake variable, which can be passed on the command-line like so:
83
+
84
+
```sh
85
+
# PNG support is required, build will fail if libpng can't be found
86
+
cmake -DSAXBOSPIRAL_PNG_SUPPORT=ON .
87
+
```
88
+
89
+
```sh
90
+
# PNG support is not included, even if libpng can be found
91
+
cmake -DSAXBOSPIRAL_PNG_SUPPORT=OFF .
92
+
```
93
+
78
94
> ### Note:
79
95
80
96
> Building as a shared library is recommended as then binaries compiled from [sxbp](https://github.com/saxbophone/sxbp) or your own programs that are linked against the shared version can immediately use any installed upgraded versions of libsaxbospiral with compatible ABIs without needing re-compiling.
0 commit comments