Hi, according to the documentation, list(SORT <list>) "sorts the list in-place alphabetically". Without changing the host system: Does the order depend on any additional input (like settings of environment variables)?
For instance the sort tool (on POSIX systems) shows significant dependencies with respect to LANG, LC_COLLATE, ... which can result in different order: "E;f;e;F" can result in "E;F;e;f" (i.e. upper case first) when using LANG=C and "e;E;f;F" when using LANG=en_US.UTF-8. I'm mainly interested in the behavior of CMake 2.8.10.2, but maybe there is a general answer to the question. Kind regards Ingolf -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake