projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3dac38
)
Resurrect LLDB Standalone build on NetBSD
author
Kamil Rytarowski
<n54@gmx.com>
Thu, 20 Apr 2017 16:35:36 +0000
(16:35 +0000)
committer
Kamil Rytarowski
<n54@gmx.com>
Thu, 20 Apr 2017 16:35:36 +0000
(16:35 +0000)
Include CheckIncludeFile for check_include_file() in CMake.
Detect <sys/event.h> in CMake.
This header is available on NetBSD.
llvm-svn: 300853
lldb/cmake/modules/LLDBConfig.cmake
patch
|
blob
|
history
diff --git
a/lldb/cmake/modules/LLDBConfig.cmake
b/lldb/cmake/modules/LLDBConfig.cmake
index
79e82fb
..
60af950
100644
(file)
--- a/
lldb/cmake/modules/LLDBConfig.cmake
+++ b/
lldb/cmake/modules/LLDBConfig.cmake
@@
-433,7
+433,9
@@
endif()
find_package(Backtrace)
+include(CheckIncludeFile)
check_include_file(termios.h HAVE_TERMIOS_H)
+check_include_file(sys/event.h HAVE_SYS_EVENT_H)
# These checks exist in LLVM's configuration, so I want to match the LLVM names
# so that the check isn't duplicated, but we translate them into the LLDB names