[llvm] 77997f2 - [cmake] Fix typo in function name

Shoaib Meenai via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 12:15:10 PDT 2021


Author: Shoaib Meenai
Date: 2021-05-12T12:14:52-07:00
New Revision: 77997f28d5954fa2417806586f2c5c9d1a0ffeef

URL: https://github.com/llvm/llvm-project/commit/77997f28d5954fa2417806586f2c5c9d1a0ffeef
DIFF: https://github.com/llvm/llvm-project/commit/77997f28d5954fa2417806586f2c5c9d1a0ffeef.diff

LOG: [cmake] Fix typo in function name

Not sure how my local testing didn't trigger this path. Should fix
https://lab.llvm.org/buildbot/#/builders/132/builds/5494

Added: 
    

Modified: 
    llvm/cmake/modules/AddLLVM.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 4f412e906dd3..1c419cddbe93 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1260,7 +1260,7 @@ macro(add_llvm_utility name)
   set_target_properties(${name} PROPERTIES FOLDER "Utils")
   if ( ${name} IN_LIST LLVM_TOOLCHAIN_UTILITIES OR NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
     if (LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS)
-      get_target_install_arg(${name} LLVM export_to_llvmexports)
+      get_target_export_arg(${name} LLVM export_to_llvmexports)
       install(TARGETS ${name}
               ${export_to_llvmexports}
               RUNTIME DESTINATION ${LLVM_UTILS_INSTALL_DIR}


        


More information about the llvm-commits mailing list