cmake: Rename uninstall target to prevent collisions
authorMark Lobodzinski <mark@lunarg.com>
Tue, 22 May 2018 04:16:38 +0000 (22:16 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 22 May 2018 04:16:38 +0000 (22:16 -0600)
Cmake does not have an uninstall function, and multiple repositories
cannot have targets with the same name. The 'uninstall' target is to
generic, so renaming this target to 'uninstall-Vulkan-Tools'.

BUILD.md
CMakeLists.txt

index 747aa16..78a6d92 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -194,7 +194,7 @@ to further customize your installation.
 
 To uninstall the files from the system directories, you can execute:
 
-    sudo make uninstall
+    sudo make uninstall-Vulkan-Tools
 
 ### Linux Tests
 
index 32c91d4..fa9a3d3 100644 (file)
@@ -103,7 +103,7 @@ if(UNIX)
         "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
         IMMEDIATE @ONLY)
 
-    add_custom_target(uninstall
+    add_custom_target(uninstall-Vulkan-Tools
         COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
 endif()