file(GLOB_RECURSE FILES_TO_REMOVE ${REMOVE_FILE_GLOB}) if(FILES_TO_REMOVE) file(REMOVE ${FILES_TO_REMOVE}) endif()