Hi, There is SORT command for lists:
list(SORT <list>) I believe it would make sense to have UNIQUE command too: list(UNIQUE <list>) unless it's already available and I've not read the doc carefully, have I? Perhaps it would be trivial to implement by CMake gurus :-) Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
