summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-10-12 20:20:18 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-10-12 20:20:18 (GMT)
commit0d44ce2bf4ced68e6d61b1733002988e0a8e6a40 (patch)
treeaf8e1a93dcd04582831279a6204ec5130bc10795 /Tests/FindPackageModeMakefileTest
parent83e4a45609ef436d032b3c527bce9b0382cfe329 (diff)
downloadCMake-0d44ce2bf4ced68e6d61b1733002988e0a8e6a40.zip
CMake-0d44ce2bf4ced68e6d61b1733002988e0a8e6a40.tar.gz
CMake-0d44ce2bf4ced68e6d61b1733002988e0a8e6a40.tar.bz2
Silence make on OpenBSD in FindPackageModeTest(#12508)
BSD make doesn't use -v for printing its name and version, and so complains on stderr that this is a bad command line option, used in Tests/FindPackageModeMakefileTest/CMakeLists.txt . Silence stderr to make that ugly output go away. Patch by David Coppy. Alex
Diffstat (limited to 'Tests/FindPackageModeMakefileTest')
-rw-r--r--Tests/FindPackageModeMakefileTest/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/FindPackageModeMakefileTest/CMakeLists.txt b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
index def8d63..3674f0e 100644
--- a/Tests/FindPackageModeMakefileTest/CMakeLists.txt
+++ b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
@@ -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.*")