Vikas Kumar wrote:
I agree.
But even though I do not set the install prefix with a trailing "/",
the leading slash becomes necessary. That REGEX expression is
generated anyway, and the fault is not with the REGEX expression. The
fault is with the fact that I need to add a leading slash if i use a
cmakelists.txt file from cmake-2.2.3 and am using INSTALL_TARGETS().
So INSTALL_FILES() and INSTALL_TARGETS() is not exactly backward
compatible in cmake-2.4.2 in the way it works for cmake-2.2.3.
I consider the change a bug fix. Previously if CMakeLists.txt authors
followed the leading slash convention and the user added a trailing
slash to the install prefix then a double-slash would be present which
was causing some other problems.
-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake