Skip to content

Commit 328263e

Browse files
committed
Fix clang-format build from the solution; the underlying path has changed to include the VS directory structure.
llvm-svn: 237136
1 parent b31bf17 commit 328263e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/tools/clang-format-vs/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ option(BUILD_CLANG_FORMAT_VS_PLUGIN "Build clang-format VS plugin" OFF)
22
if (BUILD_CLANG_FORMAT_VS_PLUGIN)
33
add_custom_target(clang_format_exe_for_vsix
44
${CMAKE_COMMAND} -E copy_if_different
5-
"${LLVM_TOOLS_BINARY_DIR}/${CMAKE_CFG_INTDIR}/clang-format.exe"
5+
"${LLVM_TOOLS_BINARY_DIR}/clang-format.exe"
66
"${CMAKE_CURRENT_SOURCE_DIR}/ClangFormat/clang-format.exe"
77
DEPENDS clang-format)
88

@@ -23,6 +23,6 @@ if (BUILD_CLANG_FORMAT_VS_PLUGIN)
2323
DEPENDS clang_format_exe_for_vsix "${CMAKE_CURRENT_SOURCE_DIR}/ClangFormat/source.extension.vsixmanifest"
2424
COMMAND ${CMAKE_COMMAND} -E copy_if_different
2525
"${CMAKE_CURRENT_SOURCE_DIR}/ClangFormat/bin/Release/ClangFormat.vsix"
26-
"${LLVM_TOOLS_BINARY_DIR}/${CMAKE_CFG_INTDIR}/ClangFormat.vsix"
26+
"${LLVM_TOOLS_BINARY_DIR}/ClangFormat.vsix"
2727
DEPENDS clang_format_exe_for_vsix clang_format_license)
2828
endif()

0 commit comments

Comments
 (0)