I just ran into the same and John Biddiscombe where vtkConfigQt.cmake has backslashes in some strings. After investigation, I learned that the problem is that FindQt4.cmake makes two versions of the QT_MOC_EXECUTABLE and QT_UIC_EXECUTABLE variables: a cached version and a non-cashed version. The cached version, which the user sees, has the filepath backslashes automatically changed to forward slashes. However, CMake apparently prefers the non-cached version while it is in scope.
The attached patch should fix the problem. It renames the non-cached versions of the variable so that the cached version is always used. -Ken **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: [EMAIL PROTECTED] ** *** ** phone: (505) 844-8919 *** fax: (505) 845-0833
FindQt4.cmake.patch
Description: FindQt4.cmake.patch
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake