diff options
author | Simon Rettberg | 2022-02-09 10:54:32 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-02-09 10:54:32 +0100 |
commit | 8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b (patch) | |
tree | 1ba02da9086de89eb2b193725644b2d2f9d34233 /cmake | |
parent | [DOC] README: Make it clear that dnbd3 is read only (diff) | |
download | dnbd3-8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b.tar.gz dnbd3-8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b.tar.xz dnbd3-8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b.zip |
[CMAKE] Fix finding kernel include dir on Debian
Diffstat (limited to 'cmake')
-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) |