2 #=============================================================================
3 # Copyright 2003-2009 Kitware, Inc.
5 # Distributed under the OSI-approved BSD License (the "License");
6 # see accompanying file Copyright.txt for details.
8 # This software is distributed WITHOUT ANY WARRANTY; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # See the License for more information.
11 #=============================================================================
12 # (To distribute this file outside of CMake, substitute the full
13 # License text for the above reference.)
15 FIND_PROGRAM(CMAKE_MAKE_PROGRAM
18 [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Setup\\VS;EnvironmentDirectory]
19 "$ENV{ProgramFiles}/Microsoft Visual Studio .NET/Common7/IDE"
20 "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE"
21 "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE"
22 "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/"
24 MARK_AS_ADVANCED(CMAKE_MAKE_PROGRAM)
26 SET(MSVC_VERSION 1310)