]> granicus.if.org Git - clang/commitdiff
Fix the cmake build after r252474 broke it
authorJonathan Roelofs <jonathan@codesourcery.com>
Mon, 9 Nov 2015 16:47:09 +0000 (16:47 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Mon, 9 Nov 2015 16:47:09 +0000 (16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252489 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/CMakeLists.txt
tools/scan-view/CMakeLists.txt

index 0f7753d861f6dd95faf46bb14d57ca43549938d0..8a792019fbe0fdb799860fba11b1918c1051f39c 100644 (file)
@@ -56,7 +56,7 @@ if(CLANG_INSTALL_SCANBUILD)
                        COMMAND ${CMAKE_COMMAND} -E copy
                          ${CMAKE_CURRENT_SOURCE_DIR}/${ManPage}
                          ${CMAKE_BINARY_DIR}/share/man/man1/)
-    install(PROGRAMS scan-build.1 DESTINATION share/man/man1)
+    install(PROGRAMS ${ManPage} DESTINATION share/man/man1)
   endforeach()
 
   foreach(ResourceFile ${ResourceFiles})
index bfff39d11fc4f45cd88aec686411dbeeaf770abf..8f51fd484fb6e2629112e2dc118d1a1b292080a4 100644 (file)
@@ -8,7 +8,10 @@ set(BinFiles
       scan-view
       startfile.py)
 
-file(GLOB ResourceFiles Resources/*)
+set(ResourceFiles
+      Resources/FileRadar.scpt
+      Resources/GetRadarVersion.scpt
+      Resources/bugcatcher.ico)
 
 if(CLANG_INSTALL_SCANVIEW)
   foreach(BinFile ${BinFiles})
@@ -26,7 +29,7 @@ if(CLANG_INSTALL_SCANVIEW)
                        COMMAND ${CMAKE_COMMAND} -E make_directory
                          ${CMAKE_BINARY_DIR}/share/scan-view
                        COMMAND ${CMAKE_COMMAND} -E copy
-                         ${ResourceFile}
+                         ${CMAKE_CURRENT_SOURCE_DIR}/${ResourceFile}
                          ${CMAKE_BINARY_DIR}/share/scan-view/)
     install(FILES ${ResourceFile} DESTINATION share/scan-view)
   endforeach()