summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeMinGWFindMake.cmake
blob: f026e9aa7c89276b3af0f99c0dd65c2c90c19c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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)