Does this evaluate to nothing if curses is not present?<br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 5, 2017 at 9:15 AM Michał Górny via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mgorny updated this revision to Diff 109879.<br>
mgorny added a comment.<br>
<br>
Forgive my poor eyesight, obviously this could go into existing LINK_LIBS ;-).<br>
<br>
<br>
<a href="https://reviews.llvm.org/D36358" rel="noreferrer" target="_blank">https://reviews.llvm.org/D36358</a><br>
<br>
Files:<br>
  source/Core/CMakeLists.txt<br>
<br>
<br>
Index: source/Core/CMakeLists.txt<br>
===================================================================<br>
--- source/Core/CMakeLists.txt<br>
+++ source/Core/CMakeLists.txt<br>
@@ -62,6 +62,7 @@<br>
     lldbPluginCPlusPlusLanguage<br>
     lldbPluginObjCLanguage<br>
     lldbPluginObjectFileJIT<br>
+    ${CURSES_LIBRARIES}<br>
<br>
   LINK_COMPONENTS<br>
     BinaryFormat<br>
<br>
<br>
</blockquote></div>