summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-02-09 10:54:32 +0100
committerSimon Rettberg2022-02-09 10:54:32 +0100
commit8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b (patch)
tree1ba02da9086de89eb2b193725644b2d2f9d34233
parent[DOC] README: Make it clear that dnbd3 is read only (diff)
downloaddnbd3-8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b.tar.gz
dnbd3-8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b.tar.xz
dnbd3-8ccd4aaddf63f01b2a30cf626cb44f683a5d4d4b.zip
[CMAKE] Fix finding kernel include dir on Debian
-rw-r--r--cmake/FindKernelHeaders.cmake1
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)