On 03/04/2016 12:17 PM, Benjamin Ballet wrote: > The fail occurs during verify_app in the function gp_resolved_file_type > from module GetPrerequisites. This function test if two paths are equal > without translating them to there canonical form before. [snip] > get_filename_component(original_path "${original_lower}" PATH) > get_filename_component(path "${lower}" PATH) > + get_filename_component(original_path "${original_path}" REALPATH) > + get_filename_component(path "${path}" REALPATH)
This is operating on a string(TOLOWER)-converted path already. On case-sensitive filesystems it does not make sense to call REALPATH for these. The code is doing string manipulation of the paths at this point. Please explain the case you're hitting in more detail. How does one end up with a non-canonical path in the first place? 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