mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
82ddcf0db1
The check was added only to fail early in an environment known not to work at the time: * https://web.archive.org/web/20120912010035/http://lists.trolltech.com/qt-interest/2006-01/thread00091-0.html Fixes: #19327
12 lines
437 B
CMake
12 lines
437 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
|
find_program(CMAKE_MAKE_PROGRAM mingw32-make.exe PATHS
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin"
|
|
c:/MinGW/bin /MinGW/bin
|
|
"[HKEY_CURRENT_USER\\Software\\CodeBlocks;Path]/MinGW/bin"
|
|
)
|
|
|
|
mark_as_advanced(CMAKE_MAKE_PROGRAM)
|