summaryrefslogtreecommitdiff
path: root/llvm/D44420-cmake-fix-a-typo-in-llvm_config-macro.patch
blob: 8303b10d0110a59585db1713d8767e301429fb90 (plain)
    1 Index: cmake/modules/LLVM-Config.cmake
    2 ===================================================================
    3 --- cmake/modules/LLVM-Config.cmake
    4 +++ cmake/modules/LLVM-Config.cmake
    5 @@ -68,7 +68,7 @@
    6    cmake_parse_arguments(ARG "USE_SHARED" "" "" ${ARGN})
    7    set(link_components ${ARG_UNPARSED_ARGUMENTS})
    8  
    9 -  if(USE_SHARED)
   10 +  if(ARG_USE_SHARED)
   11      # If USE_SHARED is specified, then we link against libLLVM,
   12      # but also against the component libraries below. This is
   13      # done in case libLLVM does not contain all of the components

Generated by cgit