summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindBoost: Allow Boost_LIB_PREFIX to be set externallyBartlomiej Cieszkowski2020-03-271-9/+15
| | | | | | | | On platforms where our default Boost static library prefix is incorrect, make it possible for users to set it explicitly to work around the problem until FindBoost can be updated. Fixes: #20372
* FindBoost: Clarify logic selecting Boost_LIB_PREFIXBrad King2020-03-271-3/+8
| | | | Also add a comment explaining its purpose.
* FindBoost: Do not add any Boost targets until after Boost foundNiall Murphy2020-01-271-37/+37
| | | | | | | Move creation of the "helper" targets that do not require anything to be found to be done only after Boost is found. Fixes: #20261
* FindBoost: only mark Boost_DIR as advanced if definedBen Boeckel2020-01-141-1/+4
|
* FindBoost: Add support for Boost 1.72Brad King2019-12-171-3/+17
| | | | | | | Run `Utilities/Scripts/BoostScanDeps.cmake` with the Boost 1.72.0 sources to compute dependencies. Fixes: #20100
* FindBoost: Prevent warning due to new meta-component "ALL" of Boost 1.73Deniz Bahadir2019-11-051-0/+3
|
* Merge topic 'FindBoost-1.71'Brad King2019-09-041-9/+15
|\ | | | | | | | | | | | | | | 907d3ed824 FindBoost: Tolerate future Boost INTERFACE libraries 2d357b7a68 FindBoost: Clarify role of legacy variables in warning message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3780
| * FindBoost: Tolerate future Boost INTERFACE librariesBrad King2019-09-041-8/+14
| | | | | | | | | | | | | | | | | | | | | | Since commit 0dd6772a89 (FindBoost: Add legacy variables and targets for compatibility, 2019-06-14, v3.15.0-rc2~3^2~1) we query imported targets provided by `BoostConfig.cmake` for their `IMPORTED_LOCATION_<cfg>`. Querying this property is not allowed on INTERFACE libraries, so add a condition to avoid doing so in case Boost adds one in the future. Suggested-by: Alexander Grund <alexander.grund@tu-dresden.de> Issue: #19656, #19402
| * FindBoost: Clarify role of legacy variables in warning messageBrad King2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | Revise the wording of the warning added by commit 0dd6772a89 (FindBoost: Add legacy variables and targets for compatibility, 2019-06-14, v3.15.0-rc2~3^2~1) to refer to the old variables as "legacy" rather than "standard". Suggested-by: Alexander Grund <alexander.grund@tu-dresden.de> Issue: #19402
* | Merge topic 'FindBoost-1.71'Brad King2019-09-031-18/+31
|\ \ | |/ | | | | | | | | | | | | | | | | | | 7828577065 FindBoost: Add support for Boost 1.71 cf29fa18c8 FindBoost: Unwrap compatibility INTERFACE targets for legacy variables d7df3cd73f FindBoost: Remove incorrect 1.70 timer dependency 8ff43de1a5 FindBoost: Simplify conditional block for last known version Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Dennis Klein <d.klein@gsi.de> Merge-request: !3763
| * FindBoost: Add support for Boost 1.71Brad King2019-08-301-2/+2
| | | | | | | | | | | | | | Run `Utilities/Scripts/BoostScanDeps.cmake` with the Boost 1.71.0 sources to compute dependencies. They are the same as Boost 1.70. Fixes: #19658
| * FindBoost: Unwrap compatibility INTERFACE targets for legacy variablesBrad King2019-08-301-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Since commit 0dd6772a89 (FindBoost: Add legacy variables and targets for compatibility, 2019-06-14, v3.15.0-rc2~3^2~1) we extract information from imported targets provided by upstream `BoostConfig.cmake` files. However, upstream Boost 1.71 provides some imported targets only for compatibility. They are just INTERFACE libraries that wrap around the real target named by `INTERFACE_LINK_LIBRARIES`. Unwrap this layer so we can extract the real imported location. Fixes: #19656
| * FindBoost: Remove incorrect 1.70 timer dependencyBrad King2019-08-301-1/+1
| | | | | | | | | | | | Running `Utilities/Scripts/BoostScanDeps.cmake` with the Boost 1.70.0 sources shows that the `timer` component no longer depends on `system`. This is consistent with upstream Boost Timer commit `43eecbd071`.
| * FindBoost: Simplify conditional block for last known versionBrad King2019-08-301-16/+14
| | | | | | | | | | A version newer than we know about will be large enough to enter the block for the last known version so we can put the warning there.
* | FindBoost: Add note about header-only libs in warning msgDennis Klein2019-08-201-1/+2
|/
* FindBoost: Add legacy variables and targets for compatibilityAlexander Grund2019-06-181-0/+150
| | | | | This allows future BoostConfig to NOT define those and users relying on them use the newer FindBoost of newer CMake versions
* FindBoost: Don't overwrite Boost_${_comp}_FOUNDAlexander Grund2019-06-181-5/+7
| | | | Is set in Boost >= 1.71 so don't overwrite it
* FindBoost: Refactor debug messagesDennis Klein2019-05-281-100/+100
| | | | | | | * Deduplicate code with helper functions * Remove double printing of _boost_TEST_VERSIONS * Fix #19158 * Add printing of a few additional variables
* Merge topic 'FindBoost-contract-requires-compile-features'Brad King2019-05-281-0/+10
|\ | | | | | | | | | | | | b915a42585 FindBoost: Add compiler features for Boost Contract library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3368
| * FindBoost: Add compiler features for Boost Contract libraryAlex Turbov2019-05-241-0/+10
| |
* | FindBoost: Remove obsolete diagnostic message about Boost_ROOTDennis Klein2019-05-151-1/+5
| | | | | | | | | | | | | | | | CMake 3.12 introduced <package>_ROOT CMake and environment variables to be valid hints to find_package(<package>). Defining Boost_ROOT is no longer wrong if CMP0074 is set to NEW. Fixes #18810
* | FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z formatDennis Klein2019-05-131-3/+12
| | | | | | | | This aligns module mode behaviour with config mode.
* | FindBoost: Modernize module mode with FPHSADennis Klein2019-05-071-130/+24
| |
* | FindBoost: Fix and modernize config mode with FPHSADennis Klein2019-05-071-10/+26
| | | | | | | | Fixes: #19186
* | FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNTDennis Klein2019-05-071-19/+34
| |
* | FindBoost: Introduce new imported target Boost::headersDennis Klein2019-05-071-5/+15
| |
* | FindBoost: Compare versions consistently against Boost_VERSION_STRINGDennis Klein2019-05-071-55/+48
| |
* | Merge topic 'FindBoost-fix-fiber-compiler-features'Brad King2019-05-011-3/+11
|\ \ | |/ | | | | | | | | | | | | f06bf0fa57 FindBoost: Fix compiler features for `fiber` and `context` 684338aff6 FindBoost: Record compiler features for Boost 1.67 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3266
| * FindBoost: Fix compiler features for `fiber` and `context`Alex Turbov2019-04-301-0/+2
| |
| * FindBoost: Record compiler features for Boost 1.67 and aboveAlex Turbov2019-04-301-3/+9
| | | | | | | | | | | | Remove the 1.67 upper-bound on compiler feature computation so that with newer versions we at least get it mostly right. Leave a comment with notes about updating features for future versions.
| * Merge branch 'Boost-Gentoo' into release-3.14Brad King2019-04-161-1/+1
| |\ | | | | | | | | | Merge-request: !3237
| * | FindBoost: Add support for MSVC toolset version 14.2Brad King2019-04-121-5/+20
| | | | | | | | | | | | Generalize the logic to express compatibility among 14.x versions.
* | | Merge topic 'Boost-Gentoo'Brad King2019-04-161-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 0b54f72e94 FindBoost: Fix detection with version suffixes on Gentoo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3237
| * | FindBoost: Fix detection with version suffixes on GentooRolf Eike Beer2019-04-161-1/+1
| |/ | | | | | | | | | | | | | | | | The Gentoo case added by commit 1673923c30 (FindBoost: Add support for Boost 1.67 with Python version suffixes, 2018-03-18, v3.11.0~3^2) left out the `.` version component separator and instead duplicated the RPM case. Add the missing `.` now. Fixes: #18743
* | FindBoost: Add support for MSVC toolset version 14.2Brad King2019-04-121-5/+20
| | | | | | | | Generalize the logic to express compatibility among 14.x versions.
* | Modules: Update documentation formattingBartosz Kosiorek2019-04-081-20/+20
| |
* | FindBoost: Consider boost suffixes suitable for clang-clDouman2019-04-031-1/+7
| | | | | | | | | | When compiling with `clang-cl` we can use either the MSVC- or Clang-built boost libraries.
* | FindBoost: always define BOOST_ALL_DYN_LINK for Boost::dynamic_linkingNeroBurner2019-03-111-2/+2
|/ | | | | | | | | | | The purpose of the `Boost::dynamic_linking` interface library is to cause `BOOST_ALL_DYN_LINK` to be defined. Do this on all platforms instead of just Windows. In particular, using Boost::log trivial_logger requires to set BOOST_ALL_NO_LIB when Boost::Log is compiled as dynamic library. Fixes: #17813
* FindBoost: Find boost libraries built with --layout=taggedYves Frederix2019-02-181-0/+8
| | | | | | | Pick up libraries of the form `boost_system-mt-x64`, which do not have the version suffix. Fixes: #18908
* FindBoost: Add support for Boost 1.70Mateusz Łoskot2018-12-181-3/+17
| | | | Boost master and develop branches just bumped the version.
* Merge topic 'FindBoost-no-cxx'Brad King2018-11-271-6/+3
|\ | | | | | | | | | | | | 0369362132 FindBoost: Restore finding without CXX language enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2663
| * FindBoost: Restore finding without CXX language enabledBrad King2018-11-261-6/+3
| | | | | | | | | | | | | | | | | | | | Since commit v3.13.0~7^2 (FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+, 2018-11-07) we run the internal `_Boost_COMPILER_DUMPVERSION` macro on all UNIX platforms. Teach the macro to tolerate missing `CMAKE_CXX_COMPILER_VERSION`, which occurs when the CXX language is not enabled. Fixes: #18624
| * Merge branch 'FindBoost-1.69' into release-3.13Brad King2018-11-131-3/+3
| |\ | | | | | | | | | Merge-request: !2601
* | | FindBoost: provide the version in x.y.z formatBen Boeckel2018-11-201-0/+2
| | |
* | | Merge topic 'FindBoost-1.69'Brad King2018-11-131-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 5045cd82d0 FindBoost: Additional fixes for 1.69 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2601
| * | FindBoost: Additional fixes for 1.69Roger Leigh2018-11-131-3/+3
| | |
* | | Merge topic 'FindBoost-compiler-guess-update'Brad King2018-11-121-7/+26
|\ \ \ | | |/ | |/| | | | | | | | | | | | | b71667a395 FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2579
| * | FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+Mateusz Łoskot2018-11-091-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge topic 'FindBoost-link-threads'Brad King2018-11-091-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | bd831ed094 FindBoost: Add system thread library to Boost_LIBRARIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2570
| * | FindBoost: Add system thread library to Boost_LIBRARIESFelix Geyer2018-11-091-0/+3
| |/ | | | | | | | | | | | | | | | | Add the system thread library to Boost_LIBRARIES when the boost thread component has been found. The Boost::thread imported target already pulls in Threads::Threads. This changes does the same for projects using the Boost_LIBRARIES variable instead.