CMake version 3.10.2 seems to have the problem and it seems to be fixed in
3.13.4.
Thanks
On 9/23/19 6:14 AM, Roger Leigh wrote:
On 23/09/2019 14:05, Brad Bell wrote:
When the target system does not have boost, the user gets the warning:
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:567 (message):
Imported targets and dependency information not available for Boost version
(all versions older than 1.33)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindBoost.cmake:907
(_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.10/Modules/FindBoost.cmake:1558
(_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:245 (FIND_PACKAGE)
This is not a problem because if the user's system does not have boost,
they will no be using the case that the examples cover.
How do I suppress this warning ?
I think it's already fixed in more recent CMake versions. It now only prints that message when
Boost is found, and older than 1.33.
Regards,
Roger
--
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:
https://cmake.org/mailman/listinfo/cmake