summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-08-25 03:05:51 +0200
committerGravatar Nikias Bassen2009-08-25 03:05:51 +0200
commit10f1ae70bff65fd3e65718b54a1425035e86002c (patch)
treea6dc464a0266a00a32c780df22639a2a55b4335a /CMakeLists.txt
parentec63619f611c7246247485ae3d27818aa2aa1dbd (diff)
downloadusbmuxd-10f1ae70bff65fd3e65718b54a1425035e86002c.tar.gz
usbmuxd-10f1ae70bff65fd3e65718b54a1425035e86002c.tar.bz2
Add uninstall target.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
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")