Hello everyone, In a CTest process, I have to determine the Boost_VERSION. To do so, I just add FIND_PACKAGE(Boost) to my configuration file. I didn’t had any problems since a cmake update on Debian/SID to cmake 3.5.0.
>From now, I have: -- Looking for boost CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:896 (add_library): Unknown CMake command "add_library". Call Stack (most recent call first): /home/vhuber/feelpp/cmake/dashboard/testsuite.cmake:328 (FIND_PACKAGE) If I run a standard cmake process with a FIND_PACKAGE(Boost) everything goes well. I do not clearly understand what is going on. I do not have theses problems with cmake 3.4.3 What can I do to solve that problem ? All the best, VH -- Docteur Ingénieur de recherche CeMoSiS <http://www.cemosis.fr> - [email protected] Tel: +33 (0)3 68 8*5 02 06* IRMA - 7, rue René Descartes 67 000 Strasbourg
-- 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
