diff options
author | Mateusz Ĺoskot <mateusz@loskot.net> | 2018-11-07 23:12:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-11-09 16:52:43 (GMT) |
commit | b71667a395dcbb32046646cf8a6f98ea8d595bba (patch) | |
tree | d73cd41fb9ac8565f951b3c24ef810181b497832 /CMakeGraphVizOptions.cmake | |
parent | cda0b14ec32ad3d3aa67dd12d75aa34ffb1bcd19 (diff) | |
download | CMake-b71667a395dcbb32046646cf8a6f98ea8d595bba.zip CMake-b71667a395dcbb32046646cf8a6f98ea8d595bba.tar.gz CMake-b71667a395dcbb32046646cf8a6f98ea8d595bba.tar.bz2 |
FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+
Add recognition of compiler version and prefix for clang.
Accommodate changes to version numbering scheme for GCC 5+ and clang 4+
- Minor number becomes patch, so excluded it from compiler prefix.
- Improves searching for Boost 1.69+ libraries built with GCC 5+ and
clang 4+, where library names are generated with compiler tag based on
major version only eg. -gcc5 for GC 5.5.0 or -clang6 for clang 6.0.0
- Follows up related changes in upcoming Boost 1.69
https://github.com/boostorg/build/pull/349
Dump detected compiler version in Boost_DEBUG message.
Replace use of CMAKE_COMPILER_IS_GNUCXX with CMAKE_CXX_COMPILER_ID.
Diffstat (limited to 'CMakeGraphVizOptions.cmake')
0 files changed, 0 insertions, 0 deletions