diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-20 21:24:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-20 21:24:23 (GMT) |
commit | 1c3d66c933782d9b53734daf70f3ac96b96830dc (patch) | |
tree | cc9c13f60bfdb68b731aef5324832f4698397133 /Modules/CMakeVS10FindMake.cmake | |
parent | 9539facf0841b96e18d557194d913b6ca7608218 (diff) | |
download | CMake-1c3d66c933782d9b53734daf70f3ac96b96830dc.zip CMake-1c3d66c933782d9b53734daf70f3ac96b96830dc.tar.gz CMake-1c3d66c933782d9b53734daf70f3ac96b96830dc.tar.bz2 |
Better fix for finding the MSBuild that matches the VS 10 install.
Diffstat (limited to 'Modules/CMakeVS10FindMake.cmake')
-rw-r--r-- | Modules/CMakeVS10FindMake.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/CMakeVS10FindMake.cmake b/Modules/CMakeVS10FindMake.cmake index 59e92b4..8233e52 100644 --- a/Modules/CMakeVS10FindMake.cmake +++ b/Modules/CMakeVS10FindMake.cmake @@ -21,10 +21,8 @@ ENDIF(NOT CMAKE_CROSSCOMPILING) FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES MSBuild HINTS - "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/v4.0.20506/" - c:/WINDOWS/Microsoft.NET/Framework/v4.0.20506/ - "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/v4.0.21006/" - c:/WINDOWS/Microsoft.NET/Framework/v4.0.21006/ + "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/" + "c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/" ) FIND_PROGRAM(CMAKE_MAKE_PROGRAM |