r253016 - scan-build: Fix install.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 22:48:02 PST 2015


Author: chapuni
Date: Fri Nov 13 00:48:02 2015
New Revision: 253016

URL: http://llvm.org/viewvc/llvm-project?rev=253016&view=rev
Log:
scan-build: Fix install.

Modified:
    cfe/trunk/tools/scan-build/CMakeLists.txt

Modified: cfe/trunk/tools/scan-build/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/CMakeLists.txt?rev=253016&r1=253015&r2=253016&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/CMakeLists.txt (original)
+++ cfe/trunk/tools/scan-build/CMakeLists.txt Fri Nov 13 00:48:02 2015
@@ -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})




More information about the cfe-commits mailing list