[PATCH] D44420: [cmake] fix a typo in llvm_config macro

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 03:11:24 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL334082: [cmake] fix a typo in llvm_config macro (authored by labath, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D44420

Files:
  llvm/trunk/cmake/modules/LLVM-Config.cmake


Index: llvm/trunk/cmake/modules/LLVM-Config.cmake
===================================================================
--- llvm/trunk/cmake/modules/LLVM-Config.cmake
+++ llvm/trunk/cmake/modules/LLVM-Config.cmake
@@ -68,7 +68,7 @@
   cmake_parse_arguments(ARG "USE_SHARED" "" "" ${ARGN})
   set(link_components ${ARG_UNPARSED_ARGUMENTS})
 
-  if(USE_SHARED)
+  if(ARG_USE_SHARED)
     # If USE_SHARED is specified, then we link against libLLVM,
     # but also against the component libraries below. This is
     # done in case libLLVM does not contain all of the components


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44420.150097.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/44c5f296/attachment.bin>


More information about the llvm-commits mailing list