Uninstall: Remove empty Ruby & Python directories
@@ -121,7 +121,14 @@ set (REMOVAL_CANDIDATES
"${CMAKE_INSTALL_PREFIX}/lib/lua"
"${CMAKE_INSTALL_PREFIX}/lib/pkgconfig"
"${CMAKE_INSTALL_PREFIX}/lib/python2.7/site-packages"
+ "${CMAKE_INSTALL_PREFIX}/lib/python2.7/__pycache__"
"${CMAKE_INSTALL_PREFIX}/lib/python2.7"
+ "${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/__pycache__"
+ "${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages"
+ "${CMAKE_INSTALL_PREFIX}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}"
+ "${CMAKE_INSTALL_PREFIX}/lib/ruby/site_ruby"
+ "${CMAKE_INSTALL_PREFIX}/lib/ruby"
+ "${CMAKE_INSTALL_PREFIX}/lib"
"${CMAKE_INSTALL_PREFIX}/share/appdata"
"${CMAKE_INSTALL_PREFIX}/share/applications"
"${CMAKE_INSTALL_PREFIX}/share/doc"
