Skip to content

Commit a98f872

Browse files
committed
why is uninstall not working
1 parent d212bb5 commit a98f872

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

CMakeLists.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -409,20 +409,20 @@ if(NOT (TARGET bson_shared OR TARGET mongoc_shared))
409409
)
410410
endif()
411411

412-
if(ENABLE_UNINSTALL AND NOT (TARGET bson_shared OR TARGET mongoc_shared))
413-
if(WIN32)
414-
set(UNINSTALL_PROG "uninstall.cmd")
415-
else()
416-
set(UNINSTALL_PROG "uninstall.sh")
417-
endif()
418-
set(UNINSTALL_PROG_DIR "${CMAKE_INSTALL_DATADIR}/mongo-cxx-driver")
419-
420-
# Create uninstall program and associated uninstall target
421-
#
422-
# This needs to be last (after all other add_subdirectory calls) to ensure
423-
# that the generated uninstall program is complete and correct
424-
add_subdirectory(generate_uninstall)
425-
endif()
412+
# if(ENABLE_UNINSTALL AND NOT (TARGET bson_shared OR TARGET mongoc_shared))
413+
# if(WIN32)
414+
# set(UNINSTALL_PROG "uninstall.cmd")
415+
# else()
416+
# set(UNINSTALL_PROG "uninstall.sh")
417+
# endif()
418+
# set(UNINSTALL_PROG_DIR "${CMAKE_INSTALL_DATADIR}/mongo-cxx-driver")
419+
#
420+
# # Create uninstall program and associated uninstall target
421+
# #
422+
# # This needs to be last (after all other add_subdirectory calls) to ensure
423+
# # that the generated uninstall program is complete and correct
424+
# add_subdirectory(generate_uninstall)
425+
# endif()
426426

427427
# Spit out some information regarding the generated build system
428428
message (STATUS "Build files generated for:")

0 commit comments

Comments
 (0)