summaryrefslogtreecommitdiff
path: root/cmake/cmake_uninstall.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cmake_uninstall.cmake.in')
-rwxr-xr-xcmake/cmake_uninstall.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/cmake_uninstall.cmake.in b/cmake/cmake_uninstall.cmake.in
index 17376d2..1b17154 100755
--- a/cmake/cmake_uninstall.cmake.in
+++ b/cmake/cmake_uninstall.cmake.in
@@ -20,3 +20,6 @@ FOREACH(file ${files})
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
+#remove the libraries in lib
+MESSAGE(STATUS "Removing libs")
+execute_process(COMMAND rm -R "@CMAKE_INSTALL_PREFIX@/lib/@LIB_INSTALL_SUFFIX@")