[llvm] eddcce0 - [CMake] Fix typos. NFC
Marek Kurdej via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 05:42:58 PDT 2020
Author: Marek Kurdej
Date: 2020-05-22T14:40:43+02:00
New Revision: eddcce0814f96610be50a32569c3b42590e94adb
URL: https://github.com/llvm/llvm-project/commit/eddcce0814f96610be50a32569c3b42590e94adb
DIFF: https://github.com/llvm/llvm-project/commit/eddcce0814f96610be50a32569c3b42590e94adb.diff
LOG: [CMake] Fix typos. NFC
Added:
Modified:
llvm/tools/llvm-shlib/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/llvm-shlib/CMakeLists.txt b/llvm/tools/llvm-shlib/CMakeLists.txt
index 563e4a100dc4..25803da0c252 100644
--- a/llvm/tools/llvm-shlib/CMakeLists.txt
+++ b/llvm/tools/llvm-shlib/CMakeLists.txt
@@ -97,10 +97,10 @@ if(LLVM_BUILD_LLVM_C_DYLIB AND NOT MSVC)
add_custom_target(libLLVMCExports DEPENDS ${LLVM_EXPORTED_SYMBOL_FILE})
add_llvm_library(LLVM-C SHARED ${SOURCES} INSTALL_WITH_TOOLCHAIN)
-
+
target_link_libraries(LLVM-C PUBLIC LLVM)
add_dependencies(LLVM-C libLLVMCExports)
-
+
set_property(TARGET LLVM-C APPEND_STRING PROPERTY
LINK_FLAGS
" -compatibility_version 1 -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH} -Wl,-reexport_library ${LIB_PATH}")
@@ -132,7 +132,7 @@ if(LLVM_BUILD_LLVM_C_DYLIB AND MSVC)
list(APPEND FULL_LIB_NAMES ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/${lib}.lib)
endforeach()
- # Need to seperate lib names with newlines.
+ # Need to separate lib names with newlines.
string(REPLACE ";" "\n" FILE_CONTENT "${FULL_LIB_NAMES}")
if(NOT "${CMAKE_CFG_INTDIR}" STREQUAL ".")
More information about the llvm-commits
mailing list