mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
Merge topic 'SilentMakeOutputOnBSD'
0d44ce2 Silence make on OpenBSD in FindPackageModeTest(#12508)
This commit is contained in:
@@ -7,6 +7,7 @@ if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Makefile")
|
||||
# is AFAIK a GNU make extension. Alex
|
||||
execute_process(COMMAND ${CMAKE_MAKE_PROGRAM} -v
|
||||
OUTPUT_VARIABLE makeVersionOutput
|
||||
ERROR_QUIET
|
||||
TIMEOUT 10)
|
||||
string(TOUPPER "${makeVersionOutput}" MAKE_VERSION_OUTPUT)
|
||||
if("${MAKE_VERSION_OUTPUT}" MATCHES ".*GNU MAKE.*")
|
||||
|
||||
Reference in New Issue
Block a user