aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2018-05-21 22:16:38 -0600
committerMark Lobodzinski <mark@lunarg.com>2018-05-21 22:16:38 -0600
commit3bd0e40e15672c32cf3fdda47e5bf971f80e4e8d (patch)
tree457f42eabecc396778e2abae9486344b35167a11
parent802b77d61305f611a5ec0dc983956ced0ad382a1 (diff)
downloadusermoji-3bd0e40e15672c32cf3fdda47e5bf971f80e4e8d.tar.xz
cmake: Rename uninstall target to prevent collisions
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'.
-rw-r--r--BUILD.md2
-rw-r--r--CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 747aa160..78a6d927 100644
--- 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
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 32c91d4f..fa9a3d3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()