From: NAKAMURA Takumi Date: Fri, 13 Nov 2015 06:48:02 +0000 (+0000) Subject: scan-build: Fix install. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d492513ef91115c33fa392255e41ac0fac32c69;p=clang scan-build: Fix install. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253016 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/CMakeLists.txt b/tools/scan-build/CMakeLists.txt index 3564c89732..df0688b710 100644 --- a/tools/scan-build/CMakeLists.txt +++ b/tools/scan-build/CMakeLists.txt @@ -72,7 +72,7 @@ if(CLANG_INSTALL_SCANBUILD) ${CMAKE_BINARY_DIR}/share/scan-view/ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/share/${ShareFile}) list(APPEND Depends ${CMAKE_BINARY_DIR}/share/scan-view/${ShareFile}) - install(FILES ${ShareFile} DESTINATION share/scan-view) + install(FILES share/${ShareFile} DESTINATION share/scan-view) endforeach() add_custom_target(scan-build ALL DEPENDS ${Depends})