joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.43k stars 403 forks source link

`pigpioConfig.cmake` references missing `pigpioTargets.cmake` #572

Open rursprung opened 1 year ago

rursprung commented 1 year ago

this references a file which doesn't exist: https://github.com/joan2937/pigpio/blob/c33738a320a3e28824af7807edafda440952c05d/cmake/pigpioConfig.cmake#L1

i don't know what this file should contain, but it seems that it already didn't exist when this was added, see the folder at that version.

error when trying to pull in pigpio via cmake:

CMake Error at .../pigpio/cmake/pigpioConfig.cmake:1 (include):
  include could not find load file:

    .../pigpio/cmake/pigpioTargets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:20 (find_package)