magazino / pylon_camera

ROS-Driver for Basler Cameras
BSD 3-Clause "New" or "Revised" License
78 stars 108 forks source link

FindPylon.cmake Fix #27

Closed tlindbloom closed 6 years ago

tlindbloom commented 6 years ago

I could not get the package to build when the pylon5 package was installed in a different location than /opt. I got it to work by changing the second line in FindPylon.cmake from: if (NOT "${PYLON_ROOT}") to: if (NOT DEFINED ENV{PYLON_ROOT})

mgrrx commented 6 years ago

Yep you are right. We fixed it internally and will publish it with our next release.