View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014607CMakeCMakepublic2013-11-29 07:222016-06-10 14:31
ReporterPhilipp Möller 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformUNIXOSArchLinuxOS VersionLinux 3.12.0
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014607: FindX11 does not honor QUIET argument or X11_FIND_QUIETLY fully
DescriptionFindX11.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 ReproduceUse:

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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042437)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2013-11-29 07:22 Philipp Möller New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042437
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team