summaryrefslogtreecommitdiff
path: root/lang/pocl/files/patch-CMakeLists.txt
blob: ac4253d87ac649a42a157e6bda042e23cdef4520 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- CMakeLists.txt.orig	2022-06-10 10:09:05 UTC
+++ CMakeLists.txt
@@ -394,6 +394,9 @@ find_package(Hwloc)
       set(ENABLE_HWLOC ON CACHE BOOL "Hwloc" FORCE)
   endif()
 
+include(CheckIncludeFiles)
+check_include_files("sys/types.h;sys/sysctl.h" HAVE_SYSCTL_H)
+
 
 include(sanitizers)