*Note: You can also cross-compile using the `toolchain-rpi.cmake` file available in the `cmake/` directory. Run cmake with -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-rpi.cmake*
Debian package:
Debian package:
```shell
```shell
cpack -config CPackConfig.cmake
cpack -config CPackConfig.cmake
@@ -33,6 +30,17 @@ Build Archive:
cpack -config CPackSourceConfig.cmake
cpack -config CPackSourceConfig.cmake
```
```
**Cross-Compiling:**
Make sure to install the [`arm toolchain`](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads) for the raspberry pi.
Then set the environment variable `TOOLCHAIN_PATH` to the `bin/` directory in your toolchain and run: