View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013195 | CMake | Modules | public | 2012-05-05 15:46 | 2012-08-09 19:34 | ||||
Reporter | john5342 | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Fedora Linux | OS Version | 16 | |||||
Product Version | CMake 2.8.8 | ||||||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||||||
Summary | 0013195: 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0029402) john5342 (reporter) 2012-05-05 15:53 |
Upon further inspection it appears that the call "find_package(Boost QUIET NO_MODULE)" (in FindBoost.cmake) is what's causing this. If i comment it out then i get the correct output below. To my understanding though failed find_package calls are supposed to be ignored with QUIET. == Output after commenting out find_package ========= -- 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 -- Configuring done -- Generating done -- Build files have been written to: /home/john/projects/boost_feature_summary_fail/build ================================================ |
(0029405) Alex Neundorf (developer) 2012-05-06 10:36 |
Thanks for reporting. It is fixed in the FixMultipleResultsInFeatureSummary branch and will be in 2.8.9. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-05 15:46 | john5342 | New Issue | |
2012-05-05 15:53 | john5342 | Note Added: 0029402 | |
2012-05-06 05:46 | Alex Neundorf | Assigned To | => Alex Neundorf |
2012-05-06 05:46 | Alex Neundorf | Status | new => assigned |
2012-05-06 10:36 | Alex Neundorf | Note Added: 0029405 | |
2012-05-06 10:36 | Alex Neundorf | Status | assigned => closed |
2012-05-06 10:36 | Alex Neundorf | Resolution | open => fixed |
2012-08-09 19:34 | David Cole | Fixed in Version | => CMake 2.8.9 |
2012-08-09 19:34 | David Cole | Target Version | => CMake 2.8.9 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |