[Lldb-commits] [lldb] r231423 - Remove libedit and libncurses from LLDB_SYSTEM_LIBS if they're disabled.
Chaoren Lin
chaorenl at google.com
Thu Mar 5 15:22:55 PST 2015
Author: chaoren
Date: Thu Mar 5 17:22:54 2015
New Revision: 231423
URL: http://llvm.org/viewvc/llvm-project?rev=231423&view=rev
Log:
Remove libedit and libncurses from LLDB_SYSTEM_LIBS if they're disabled.
Reviewers: clayborg, zturner, vharron, sbest
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8065
Modified:
lldb/trunk/cmake/LLDBDependencies.cmake
Modified: lldb/trunk/cmake/LLDBDependencies.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/LLDBDependencies.cmake?rev=231423&r1=231422&r2=231423&view=diff
==============================================================================
--- lldb/trunk/cmake/LLDBDependencies.cmake (original)
+++ lldb/trunk/cmake/LLDBDependencies.cmake Thu Mar 5 17:22:54 2015
@@ -125,7 +125,12 @@ set( CLANG_USED_LIBS
set(LLDB_SYSTEM_LIBS)
if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT __ANDROID_NDK__)
- list(APPEND LLDB_SYSTEM_LIBS edit panel ncurses)
+ if (NOT LLDB_DISABLE_LIBEDIT)
+ list(APPEND LLDB_SYSTEM_LIBS edit)
+ endif()
+ if (NOT LLDB_DISABLE_CURSES)
+ list(APPEND LLDB_SYSTEM_LIBS panel ncurses)
+ endif()
endif()
# On FreeBSD backtrace() is provided by libexecinfo, not libc.
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
More information about the lldb-commits
mailing list