On 09/30/2014 10:05 AM, Nils Gladitz wrote: > When both operands are the same absolute path I get the empty string as > a result. > > Should it be "."?
Perhaps. One would need to track down existing call sites to see where that might affect behavior. IIRC it is exposed through file(RELATIVE_PATH), so it may need a policy. That is probably overkill because there are legitimate use cases where an empty string looks better than ".". -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
