diff options
author | Simon Rettberg | 2022-02-08 17:33:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-03-04 12:04:14 +0100 |
commit | e3279267fb7b62f0872cf13ba9b2c7090b7e4215 (patch) | |
tree | b293dd8253849762358c93c8cf760e1298d1232c | |
parent | Fix linter errors and warnings from checkpatch.pl (diff) | |
download | xloop-e3279267fb7b62f0872cf13ba9b2c7090b7e4215.tar.gz xloop-e3279267fb7b62f0872cf13ba9b2c7090b7e4215.tar.xz xloop-e3279267fb7b62f0872cf13ba9b2c7090b7e4215.zip |
cmake: Fix finding kernel include dir on Debian
-rw-r--r-- | cmake/FindKernelHeaders.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindKernelHeaders.cmake b/cmake/FindKernelHeaders.cmake index 53597e5..2fe2dcb 100644 --- a/cmake/FindKernelHeaders.cmake +++ b/cmake/FindKernelHeaders.cmake @@ -19,6 +19,7 @@ endif(NOT KERNEL_INSTALL_DIR) find_path(KernelHeaders_INCLUDE_DIR NAMES linux/kernel.h linux/module.h + generated/utsrelease.h PATHS ${KERNEL_BUILD_DIR}/include NO_DEFAULT_PATH) |