blob: 64a90bbe3ecee4998ac079744e365616da026d98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7a0dfe..22d1f4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -271,7 +271,6 @@ if (ENABLE_MONGOC)
VERSION_CURRENT
VERSION_RELEASED
# This sub-directory is added later, so manually include here
- generate_uninstall/CMakeLists.txt
)
set_local_dist (top_DIST ${top_DIST_local})
@@ -341,14 +340,8 @@ if (WIN32)
else ()
set (UNINSTALL_PROG "uninstall.sh")
endif ()
-set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver")
# Create uninstall program and associated uninstall target
#
# This needs to be last (after all other add_subdirectory calls) to ensure that
# the generated uninstall program is complete and correct
-add_subdirectory (generate_uninstall)
-
-add_custom_target (uninstall
- COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}"
-)
|