diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2018-05-21 22:16:38 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2018-05-21 22:16:38 -0600 |
| commit | 3bd0e40e15672c32cf3fdda47e5bf971f80e4e8d (patch) | |
| tree | 457f42eabecc396778e2abae9486344b35167a11 | |
| parent | 802b77d61305f611a5ec0dc983956ced0ad382a1 (diff) | |
| download | usermoji-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.md | 2 | ||||
| -rw-r--r-- | CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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() |
