[llvm] 60c44cc - Fix mis-matching arguments warning in dsymutil/CMakeLists.txt (NFC)
Jie Fu via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 17 18:01:58 PDT 2023
Author: Jie Fu
Date: 2023-08-18T08:59:51+08:00
New Revision: 60c44ccee15710b108db486c16caf06331d86be9
URL: https://github.com/llvm/llvm-project/commit/60c44ccee15710b108db486c16caf06331d86be9
DIFF: https://github.com/llvm/llvm-project/commit/60c44ccee15710b108db486c16caf06331d86be9.diff
LOG: Fix mis-matching arguments warning in dsymutil/CMakeLists.txt (NFC)
CMake Warning (dev) in tools/dsymutil/CMakeLists.txt:
A logical block opening on the line
/Users/jiefu/llvm-project/llvm/tools/dsymutil/CMakeLists.txt:42 (if)
closes on the line
/Users/jiefu/llvm-project/llvm/tools/dsymutil/CMakeLists.txt:44 (endif)
with mis-matching arguments.
Added:
Modified:
llvm/tools/dsymutil/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/dsymutil/CMakeLists.txt b/llvm/tools/dsymutil/CMakeLists.txt
index f27056b01e48c4..3cb7594d2fd920 100644
--- a/llvm/tools/dsymutil/CMakeLists.txt
+++ b/llvm/tools/dsymutil/CMakeLists.txt
@@ -41,6 +41,6 @@ add_llvm_tool(dsymutil
if(APPLE AND NOT LLVM_TOOL_LLVM_DRIVER_BUILD)
target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation")
-endif(APPLE)
+endif(APPLE AND NOT LLVM_TOOL_LLVM_DRIVER_BUILD)
# target_link_libraries(dsymutil PRIVATE ${LLVM_ATOMIC_LIB})
More information about the llvm-commits
mailing list