mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
For system installs, `DESTDIR=/usr cmake --install buildfolder` installs libraries to `/usr/lib` with the correct rpath. Example structure: ``` /usr/include/wpimath/frc/controller/LinearQuadraticRegulator.h /usr/lib/libwpimath.so ``` Users need to provide `-I/usr/include/wpimath` in their projects. This is an artifact of the install() commands being in the subdirectory CMake files. For other locations, `DESTDIR=/opt/wpilib cmake --install buildfolder` installs libraries to `/opt/wpilib/lib`. Example structure: ``` /opt/wpilib/include/wpimath/frc/controller/LinearQuadraticRegulator.h /opt/wpilib/lib/libwpimath.so ```
11 KiB
11 KiB