robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
b2ed439bd5
master
1if ( NOT EXISTS " ${ CMAKE_BINARY_DIR } /install_manifest.txt" ) 2message ( FATAL_ERROR "Cannot find install manifest: ${ CMAKE_BINARY_DIR } /install_manifest.txt" ) 3endif () 4 5file ( STRINGS " ${ CMAKE_BINARY_DIR } /install_manifest.txt" files ) 6foreach ( file${ files }) 7message ( STATUS "Uninstalling $ ENV { DESTDIR }${ file } " ) 8if ( IS_SYMLINK " $ ENV { DESTDIR }${ file } " OR EXISTS " $ ENV { DESTDIR }${ file } " ) 9file ( REMOVE $ ENV { DESTDIR }${ file }) 10else () 11message ( STATUS "File $ ENV { DESTDIR }${ file } does not exist." ) 12endif () 13endforeach ()