diff options
author | Manuel Bentele | 2021-08-26 13:33:25 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-08-26 13:33:25 +0200 |
commit | 079646f670fe95a95da08f51e9a86d4d1a4e0e32 (patch) | |
tree | f00f0970059f1063b8837e50f11cad6af8c3f1c1 /cmake | |
parent | Read version from lightweight (non-annotated) tags, too (diff) | |
download | xloop-079646f670fe95a95da08f51e9a86d4d1a4e0e32.tar.gz xloop-079646f670fe95a95da08f51e9a86d4d1a4e0e32.tar.xz xloop-079646f670fe95a95da08f51e9a86d4d1a4e0e32.zip |
[BUILD] Change CMake search for the existence of Linux headers
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindKernelHeaders.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/FindKernelHeaders.cmake b/cmake/FindKernelHeaders.cmake index bd2e52d..d3ee0d9 100644 --- a/cmake/FindKernelHeaders.cmake +++ b/cmake/FindKernelHeaders.cmake @@ -17,7 +17,8 @@ endif(NOT KERNEL_INSTALL_DIR) # find the Linux kernel headers from given KERNEL_BUILD_DIR find_path(KernelHeaders_INCLUDE_DIR - NAMES linux/user.h + NAMES config/clang/version.h + config/gcc/version.h PATHS ${KERNEL_BUILD_DIR}/include) # get Linux kernel headers version |