mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: remove GNU make check (#21977)
The entire thing is incorrect. It checks the wrong variable and tries to unset a cache variable without using the CACHE keyword, which doesn't work.
This commit is contained in:
parent
34a16209bb
commit
39630265c4
@ -75,14 +75,6 @@ endif()
|
||||
|
||||
if(UNIX)
|
||||
find_program(MAKE_PRG NAMES gmake make)
|
||||
if(MAKE_PRG)
|
||||
execute_process(
|
||||
COMMAND "${MAKE_PRG}" --version
|
||||
OUTPUT_VARIABLE MAKE_VERSION_INFO)
|
||||
if(NOT "${OUTPUT_VARIABLE}" MATCHES ".*GNU.*")
|
||||
unset(MAKE_PRG)
|
||||
endif()
|
||||
endif()
|
||||
if(NOT MAKE_PRG)
|
||||
message(FATAL_ERROR "GNU Make is required to build the dependencies.")
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user