BinghamtonRover / BurtOS-2

Base station/rover computer apps and libraries for the Binghamton University Rover Team
3 stars 0 forks source link

Fix search path error for TurboJPEG #31

Closed superdan-t closed 2 years ago

superdan-t commented 2 years ago

The value of ENV{PKG_CONFIG_PATH} was not correctly copied from PKG_TURBOJPEG_PATH before searching for the package. This quick fix fixes that problem so the default path is used.

superdan-t commented 2 years ago

Fixed some other issues:

The default TurboJPEG path set in the CMake file is only required if installed manually. Apt can also be used (sudo apt install libturbojpeg0-dev) and pkg-config will find the package without setting the path.