summaryrefslogtreecommitdiff
path: root/lang/pocl/files/patch-CMakeLists.txt
blob: 1b1987ab6288bb005bf6939bd078ba069feffe5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- CMakeLists.txt.orig	2025-05-21 11:53:16 UTC
+++ CMakeLists.txt
@@ -466,6 +466,9 @@ endfunction()
   endif()
 endfunction()
 
+include(CheckIncludeFiles)
+check_include_files("sys/sysctl.h" HAVE_SYSCTL_H)
+
 
 function(rename_if_different SRC DST EXEC)
   if(EXISTS "${DST}")