[Cmake] uniqueing macro/remove double entries from vector

Jan Woetzel jw at mip.informatik.uni-kiel.de
Fri Jun 11 16:58:11 EDT 2004


Hi,
I want to remove my double entries from my collection of INC and LIB 
directores to beautify my PackageConfig.cmake

Has anybody a "uniqueing" MACRO at hand (or a better solution) ?

E.g.
/include/Foo
/include/Bar
/include/Foo

should become:
/include/Foo
/include/Bar


Best regards,
Jan.




More information about the Cmake mailing list