[Lldb-commits] [lldb] r309393 - [CMake] Enable OS_LOG support on Darwin

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 28 08:39:50 PDT 2017


Author: cbieneman
Date: Fri Jul 28 08:39:50 2017
New Revision: 309393

URL: http://llvm.org/viewvc/llvm-project?rev=309393&view=rev
Log:
[CMake] Enable OS_LOG support on Darwin

This gets CMake to match the Xcode project build

Modified:
    lldb/trunk/CMakeLists.txt

Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=309393&r1=309392&r2=309393&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Fri Jul 28 08:39:50 2017
@@ -24,6 +24,10 @@ if (LLDB_DISABLE_LIBEDIT)
   add_definitions( -DLLDB_DISABLE_LIBEDIT )
 endif()
 
+if(APPLE)
+  add_definitions(-DLLDB_USE_OS_LOG)
+endif()
+
 # add_subdirectory(include)
 add_subdirectory(docs)
 if (NOT LLDB_DISABLE_PYTHON)




More information about the lldb-commits mailing list