[cmake-developers] [CMake 0013195]: Boost gets shown as both found and not found by feature_summary
Mantis Bug Tracker
mantis at public.kitware.com
Sat May 5 15:46:45 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13195
======================================================================
Reported By: john5342
Assigned To:
======================================================================
Project: CMake
Issue ID: 13195
Category: Modules
Reproducibility: always
Severity: minor
Priority: low
Status: new
======================================================================
Date Submitted: 2012-05-05 15:46 EDT
Last Modified: 2012-05-05 15:46 EDT
======================================================================
Summary: Boost gets shown as both found and not found by
feature_summary
Description:
If i use find_package to search for Boost then feature_summary reports it as
both present and not. BZip2 for instance works as expected.
Steps to Reproduce:
== CMakeLists.txt ==
cmake_minimum_required(VERSION 2.8)
project(boost_feature_summary_fail CXX)
find_package(Boost)
include(FeatureSummary)
feature_summary(WHAT ALL)
====================
== Output ==========
$ cmake ..
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.47.0
--
-- The following OPTIONAL packages have been found:
* Boost
-- The following OPTIONAL packages have not been found:
* Boost
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/john/projects/boost_feature_summary_fail/build
====================
Additional Information:
This is using the builtin FindBoost.cmake and it's fallback mode. There is no
Config style cmake file for FindBoost to find.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-05-05 15:46 john5342 New Issue
======================================================================
More information about the cmake-developers
mailing list