[cmake-developers] [CMake 0014607]: FindX11 does not honor QUIET argument or X11_FIND_QUIETLY fully
Mantis Bug Tracker
mantis at public.kitware.com
Fri Nov 29 07:22:24 EST 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14607
======================================================================
Reported By: Philipp Möller
Assigned To:
======================================================================
Project: CMake
Issue ID: 14607
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-11-29 07:22 EST
Last Modified: 2013-11-29 07:22 EST
======================================================================
Summary: FindX11 does not honor QUIET argument or
X11_FIND_QUIETLY fully
Description:
FindX11.cmake does not honor the QUIET or X11_FIND_QUIETLY options.
The issue seem to be the calls to CHECK_FUNCTION_EXISTS(...) which do not
provide a way to supress status output.
Steps to Reproduce:
Use:
cmake_minimum_required(VERSION 2.8)
project(Test)
find_package(X11 QUIET)
The output is (when X11 is available):
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/test
The expected output is:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/test
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-11-29 07:22 Philipp Möller New Issue
======================================================================
More information about the cmake-developers
mailing list