gbe_fork/cmake/share/cmake-3.27/Modules/CMakeMinGWFindMake.cmake

12 lines
448 B
CMake
Raw Normal View History

2023-12-17 02:34:09 +08:00
# 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)