On 07/07/2016 06:32 PM, Dāvis Mosāns wrote: > On Windows getenv (and putenv) uses ANSI codepage so it needs to be encoded > to internally used encoding (eg. UTF-8). Here we use _wgetenv (and _wputenv) > instead and encode that. > > Also add SystemTools::HasEnv function.
Thanks. KWSys is maintained externally to CMake so I've ported this patch over for integration there first. I split it into two commits for review and testing here: http://review.source.kitware.com/21318 http://review.source.kitware.com/21319 Once integrated there I can update it in CMake and then move on to more of your patches. Thanks, -Brad -- 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://public.kitware.com/mailman/listinfo/cmake-developers