[CMake] Boost + CMake + Windows + Sanity -> Possible?

Innokentiy Alaytsev alaitsev at gmail.com
Thu Jul 12 06:29:25 EDT 2018


Hello!

First of all, I suggest you use Boost imported targets instead of
Boost_INCLUDE_DIRS and Boost_LIBRARY_DIRS and the
target_include_directories() and target_link_libraries() functions. Al this
is to better support exporting CMake package if you need it. If you do not
produce CMake package for use in some other projects, then just ignore this
advice.

Second, just use  pre-built Boost binaries
<https://dl.bintray.com/boostorg/release/1.67.0/binaries/>  . They are just
fine. If your Windows Defender finds something in them then it's the problem
in Windows Defender.

Best regards,
Innokentiy Alaytsev



--
Sent from: http://cmake.3232098.n2.nabble.com/


More information about the CMake mailing list