[Lldb-commits] [PATCH] D23977: Support of lldb on Kfreebsd
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Sun Aug 28 23:29:51 PDT 2016
krytarowski added a subscriber: krytarowski.
Comment at: cmake/LLDBDependencies.cmake:168
@@ -167,3 +167,3 @@
# On FreeBSD/NetBSD backtrace() is provided by libexecinfo, not libc.
-if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD")
+if ((CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD") AND NOT CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
list(APPEND LLDB_SYSTEM_LIBS execinfo)
> This really should turn into a check so that we don't need this to be extended for every single OS that gets added.
There is now support for CMake >= 3.0, which offers a builtin check for it.
More information about the lldb-commits