[CMake] About FindBoost.cmake

Michael Ellery mellery451 at gmail.com
Mon Oct 29 20:00:27 EDT 2018


I’m guessing you want to set Boost_USE_DEBUG_RUNTIME:

https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L1467


> On Oct 29, 2018, at 4:29 PM, Osman Zakir <osmanzakir90 at hotmail.com> wrote:
> 
> Hi again, everyone.
> 
> I noticed that FindBoost.cmake has "-d" set as the Boost debug ABI tag even though the Boost libraries actually use "-gd".  I installed the latet release of CMake just now, which has Boost 1.68.0 listed as a test version, and it has this problem too.  For Boost.Filesystem, if it's an x64 multithreaded debug lib (just take this as an example), the filename is "libboost_filesystem-vc141-mt-gd-x64-1_68.lib".  For x86 it'd be "libboost_filesystem-vc141-mt-gd-x32-1_68.lib".  
> 
> Just thought I'd send this email to report this.  
> -- 
> 
> 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



More information about the CMake mailing list