diff options
author | Nikias Bassen | 2009-08-25 03:05:51 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-08-25 03:05:51 +0200 |
commit | 10f1ae70bff65fd3e65718b54a1425035e86002c (patch) | |
tree | a6dc464a0266a00a32c780df22639a2a55b4335a /CMakeLists.txt | |
parent | ec63619f611c7246247485ae3d27818aa2aa1dbd (diff) | |
download | usbmuxd-10f1ae70bff65fd3e65718b54a1425035e86002c.tar.gz usbmuxd-10f1ae70bff65fd3e65718b54a1425035e86002c.tar.bz2 |
Add uninstall target.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ba1653f..495ba9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,3 +8,7 @@ add_subdirectory (libusbmuxd) add_subdirectory (usbmuxd) add_subdirectory (tools) add_subdirectory (udev) + +# add uninstall target +CONFIGURE_FILE( "${CMAKE_SOURCE_DIR}/Modules/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) +ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") |