summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-02-08 17:33:41 +0100
committerSimon Rettberg2022-03-04 12:04:14 +0100
commite3279267fb7b62f0872cf13ba9b2c7090b7e4215 (patch)
treeb293dd8253849762358c93c8cf760e1298d1232c
parentFix linter errors and warnings from checkpatch.pl (diff)
downloadxloop-e3279267fb7b62f0872cf13ba9b2c7090b7e4215.tar.gz
xloop-e3279267fb7b62f0872cf13ba9b2c7090b7e4215.tar.xz
xloop-e3279267fb7b62f0872cf13ba9b2c7090b7e4215.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)