diff options
author | Julian Andres Klode <jak@debian.org> | 2017-09-10 11:35:54 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-09-10 11:35:54 +0200 |
commit | b13861fa687cf3a2af97a5beb0c0642d9bee8f8c (patch) | |
tree | c1efc2c6a8430ade8f27e48100fb44c8e2734310 /methods/file.cc | |
parent | a670cee0e0f4faba0d31919d9fa4f9c25b7d5867 (diff) |
CMake: Properly handle Udev missing
When udev is not available, the variables for libraries and
include paths are set to NOTFOUND rather than an empty string
and CMake exits with an error. Use a generator expression to
only use these variables when UDEV_FOUND is true.
Diffstat (limited to 'methods/file.cc')
0 files changed, 0 insertions, 0 deletions