summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeVS10FindMake.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-04 13:50:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-04 14:44:09 (GMT)
commit5fd87f6d1a5df1fb153f054f0101cf67bdea43b6 (patch)
treeb7b1908ffc61eac683f203bbb3c60363ff81f06c /Modules/CMakeVS10FindMake.cmake
parent67277bacca15047405a1185d2271ba81b553bdae (diff)
downloadCMake-5fd87f6d1a5df1fb153f054f0101cf67bdea43b6.zip
CMake-5fd87f6d1a5df1fb153f054f0101cf67bdea43b6.tar.gz
CMake-5fd87f6d1a5df1fb153f054f0101cf67bdea43b6.tar.bz2
Fix for bug #10670, add another location to find MSBuild.
Diffstat (limited to 'Modules/CMakeVS10FindMake.cmake')
-rw-r--r--Modules/CMakeVS10FindMake.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeVS10FindMake.cmake b/Modules/CMakeVS10FindMake.cmake
index 360476c..460de25 100644
--- a/Modules/CMakeVS10FindMake.cmake
+++ b/Modules/CMakeVS10FindMake.cmake
@@ -16,6 +16,7 @@
FIND_PROGRAM(CMAKE_MAKE_PROGRAM
NAMES MSBuild
HINTS
+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;ProductDir]
"$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]/"
"$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\10.0;CLR Version]/"