[CMake] GetPrequisites ldd regex incorrect (with fix)

Mike Arthur mike at mikearthur.co.uk
Fri Oct 24 09:19:47 EDT 2008


in get_prerequisites:

set(gp_regex "^\t([\t ]+)[\t ].*${eol_char}$")

which is missing a '^' before the second \t so should be:

set(gp_regex "^\t([^\t ]+)[\t ].*${eol_char}$")

Without this fix, the ldd output will never match filenames. Should I file a bug 
on the bugtracker for this too?
-- 
Cheers,
Mike Arthur
http://mikearthur.co.uk/


More information about the CMake mailing list