commit 39630265c476e64b2a544155e52b7a133222a551
parent 34a16209bb8fdca1007ac76eb8d02bc7a2575402
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date: Tue, 24 Jan 2023 10:40:50 +0100
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.
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/cmake.deps/CMakeLists.txt b/cmake.deps/CMakeLists.txt
@@ -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()