1# Distributed under the OSI-approved BSD 3-Clause License. See accompanying 2# file Copyright.txt or https://cmake.org/licensing for details. 3 4 5find_program(CMAKE_MAKE_PROGRAM mingw32-make.exe PATHS 6 "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\MinGW;InstallLocation]/bin" 7 c:/MinGW/bin /MinGW/bin 8 "[HKEY_CURRENT_USER\\Software\\CodeBlocks;Path]/MinGW/bin" 9 ) 10 11mark_as_advanced(CMAKE_MAKE_PROGRAM) 12