Re: [CMake] InstallRequiredSystemLibraries fails for msvc10 x64

2011-03-09 Thread David Cole
For reference, here's the commit that I just pushed to 'next' : http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=971a735ba2b4d9e4ac846722fdf280dbd0feb0d4 On Wed, Mar 9, 2011 at 6:01 PM, David Cole wrote: > I'm going to commit this as a fix in CMake 'next' -- but I'm extending it > to the VS8

Re: [CMake] InstallRequiredSystemLibraries fails for msvc10 x64

2011-03-09 Thread David Cole
I'm going to commit this as a fix in CMake 'next' -- but I'm extending it to the VS8 and VS9 chunks as well. And I'm eliminating the duplicate use of: "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;InstallDir]/../../VC/redist" as one of the PATHS and just going with: "${msvc_in

Re: [CMake] InstallRequiredSystemLibraries fails for msvc10 x64

2011-03-09 Thread J Decker
On Wed, Mar 9, 2011 at 11:56 AM, David Cole wrote: > This is already at least partially fixed in CMake 2.8.4... Ya I saw that - thought I was working against 2.8.4 until I got to the next box... so I started checking again... > Are there still problems building/using 64-bit CMake using the offic

Re: [CMake] InstallRequiredSystemLibraries fails for msvc10 x64

2011-03-09 Thread David Cole
This is already at least partially fixed in CMake 2.8.4... The chunk you reference: IF(CMAKE_CL_64) SET(CMAKE_MSVC_ARCH amd64) ELSE(CMAKE_CL_64) SET(CMAKE_MSVC_ARCH x86) ENDIF(CMAKE_CL_64) Now looks like this: IF(CMAKE_CL_64) IF(MSVC_VERSION GREATER 1599) # VS 10 and later:

[CMake] InstallRequiredSystemLibraries fails for msvc10 x64

2011-03-09 Thread J Decker
In InstallRequiredSystemLibraries IF(CMAKE_CL_64) SET(CMAKE_MSVC_ARCH amd64) ELSE(CMAKE_CL_64) SET(CMAKE_MSVC_ARCH x86) ENDIF(CMAKE_CL_64) amd64 should be x64 for vs2010 SET(CMAKE_MSVC_ARCH x64) If cmake is built as 64bit this won't work FIND_PATH(MS