Update: I put this before find packages boost and now it WORKS:

if (WIN32)
  set (Boost_USE_STATIC_LIBS ON)
endif (WIN32)

Think I tried this earlier with no luck but it may have been obscured by cache or some other attempts.

On 03-08-2018 13:24, Søren wrote:
Thanks

Debug output shows
* that it already searchs in the right folders.
* It appears to search for the right patterns e.g. "boost_chrono-vc141-mt-x64-1_67" (file is there "libboost_chrono-vc141-mt-x64-1_67.lib")
* It also states  "Boost_FOUND = 1"

But still that error. So far I can't see from the debug output why it fails.

--

Best regards,

Søren Dyrsting

Senior Software Engineer

cid:image001.png@01D38889.00F59D30

T: +45 36 16 36 00

-- 

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

Reply via email to