MantisBT - CMake
View Issue Details
0014607CMakeCMakepublic2013-11-29 07:222016-06-10 14:31
Philipp Möller 
Kitware Robot 
normalminoralways
closedmoved 
UNIXArchLinuxLinux 3.12.0
CMake 2.8.12 
 
0014607: FindX11 does not honor QUIET argument or X11_FIND_QUIETLY fully
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.
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
No tags attached.
Issue History
2013-11-29 07:22Philipp MöllerNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042437
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042437)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.