The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16057 
====================================================================== 
Reported By:                Tatsuyuki Ishi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16057
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-04-09 09:58 EDT
Last Modified:              2016-04-09 09:58 EDT
====================================================================== 
Summary:                    FindBoost: No imported target when components not
specified
Description: 
Here's an example:
=============
project(...)
find_package(Boost REQUIRED)
add_executable(...)
target_link_libraries(... Boost::Boost)
*BOOM*
=============

But this works:
=============
find_package(Boost COMPONENTS system REQUIRED)
target_link_libraries(... Boost::Boost)
=============

This is hard to use, and should be considered as bug and fixed.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-04-09 09:58 Tatsuyuki Ishi New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to