cmake-basis/BASIS

uninstall script does not remove public header files

schuhschuh opened this issue · 3 comments

For example, uninstall-basis does not remove the header files installed from the include directory of the BASIS source tree.

Trying it again, everything was removed as it should be, except the empty bin directory.

When running

"/vol/biomedic/users/as12312/bin/cmake" -P "/homes/as12312/opt/tmp/install/lib/cmake/basis/BASISUninstall.cmake"

directly, i.e., the code executed by uninstall-basis, all directories are removed. It seems the bin directory only remains because it is the directory of the uninstaller script itself.

Executing the cmake process using the exec function solves the issue (on Unix).