> Hi everybody there, > > Subject says it all. See the attached patch please. > > (Didn't care enough to leave hg for git to generate the patch. Sorry.)
FILE_PATH is likely to contain "C:" or some other drive letter on Windows. It is therefore unsuitable for using to construct a sub-path underneath CMAKE_CURRENT_BINARY_DIR. You don't have to care enough to leave hg, but we do have to care enough to make sure CMake still works on all the platforms it's intended to work on. This patch may fix your particular use case, but it is not generally correct, and therefore, unlikely to be adopted into upstream CMake. There must be a better solution, that will work on all platforms... David C. -- 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/cgi-bin/mailman/listinfo/cmake-developers
