summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-09-10 11:35:54 +0200
committerJulian Andres Klode <jak@debian.org>2017-09-10 11:35:54 +0200
commitb13861fa687cf3a2af97a5beb0c0642d9bee8f8c (patch)
treec1efc2c6a8430ade8f27e48100fb44c8e2734310 /cmdline/apt-cache.cc
parenta670cee0e0f4faba0d31919d9fa4f9c25b7d5867 (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 'cmdline/apt-cache.cc')
0 files changed, 0 insertions, 0 deletions