On 11/11/2016 07:54, [email protected] wrote:
Hi, with the following CMakeLists.txt:

cmake_minimum_required(VERSION 3.6)
project(point)
find_package(Boost REQUIRED COMPONENTS system)

CMake Warning at /usr/share/cmake-3.6/Modules/FindBoost.cmake:743
(message):
  Imported targets not available for Boost version 106200

The code compiles and builds fine though, but I would like to know and
fix this warning.

cmake version is 3.6.3 and boost is 1.62.0.

The FindBoost provided by this version of cmake doesn't support imported targets for the new Boost 1.62 release, i.e. Boost::system.

If you're not using imported targets, this won't cause you any problems, and you can ignore it.

Hopefully one day we can get Boost to provide this information directly by providing cmake configuration files (it's on my long todo list). If anyone else wants to tackle this, it would certainly benefit a lot of people.


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:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to