From 824cbabfd27da9a88fd4b98c68af277cdc775425 Mon Sep 17 00:00:00 2001 From: Fernando Herrero <fherrero@iri.upc.edu> Date: Mon, 18 May 2020 16:47:31 +0200 Subject: [PATCH] Added additional uninstall commands to also remove the installation folder of the library. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 055ede9..19340f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,8 @@ IF (UNIX) ADD_CUSTOM_COMMAND( COMMENT "uninstall package" COMMAND xargs ARGS rm < install_manifest.txt + COMMAND rm -rd ${CMAKE_INSTALL_PREFIX}/lib/iri/${PROJECT_NAME} + COMMAND rm -rd ${CMAKE_INSTALL_PREFIX}/include/iri/${PROJECT_NAME} TARGET uninstall ) -- GitLab