Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simpleio: look explicitly for linux/gpio.h as it seems that some BSDs…
… have linux/types.h? fix #1675
- Loading branch information
36af590
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct way to check for FreeBSD in cmake is:
CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
36af590
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm but this wouldn't cover other non-linux unix OSes.. for instance DragonflyBSD, OpenBSD, I assume would all still fail if I added this check