[clang] 50f2e49 - [clang][cmake] Fixed typo in hmaptool CMakeLists.txt

Keith Smiley via cfe-commits cfe-commits at lists.llvm.org
Sat May 28 10:15:14 PDT 2022


Author: Daniel Hannon
Date: 2022-05-28T10:10:57-07:00
New Revision: 50f2e49924566330ea9aa731908f2864603bf4fb

URL: https://github.com/llvm/llvm-project/commit/50f2e49924566330ea9aa731908f2864603bf4fb
DIFF: https://github.com/llvm/llvm-project/commit/50f2e49924566330ea9aa731908f2864603bf4fb.diff

LOG: [clang][cmake] Fixed typo in hmaptool CMakeLists.txt

There was a typo in the CMakeLists.txt for hmap tool that installed it to the wrong directory

https://github.com/llvm/llvm-project/issues/55753

Reviewed By: keith

Differential Revision: https://reviews.llvm.org/D126598

Added: 
    

Modified: 
    clang/utils/hmaptool/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/utils/hmaptool/CMakeLists.txt b/clang/utils/hmaptool/CMakeLists.txt
index 320a24da346d6..375d7b0448829 100644
--- a/clang/utils/hmaptool/CMakeLists.txt
+++ b/clang/utils/hmaptool/CMakeLists.txt
@@ -2,7 +2,7 @@ add_custom_command(OUTPUT "${LLVM_TOOLS_BINARY_DIR}/hmaptool"
                    COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_SOURCE_DIR}/hmaptool" "${LLVM_TOOLS_BINARY_DIR}"
                    DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/hmaptool")
 
-install(PROGRAMS hmaptool DESTINATION "${LLVM_UTILS_INSTALL_DIR}}" COMPONENT hmaptool)
+install(PROGRAMS hmaptool DESTINATION "${LLVM_UTILS_INSTALL_DIR}" COMPONENT hmaptool)
 add_custom_target(hmaptool ALL DEPENDS "${LLVM_TOOLS_BINARY_DIR}/hmaptool")
 set_target_properties(hmaptool PROPERTIES FOLDER "Utils")
 


        


More information about the cfe-commits mailing list