From 3bd0e40e15672c32cf3fdda47e5bf971f80e4e8d Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Mon, 21 May 2018 22:16:38 -0600 Subject: 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'. --- BUILD.md | 2 +- CMakeLists.txt | 2 +- 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() -- cgit v1.2.3