mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-04 17:23:20 +00:00
Fix for Boost 1.89
The system library becomes header-only, so target Boost::system is not available anymore
This commit is contained in:
@@ -1010,7 +1010,7 @@ if(Boost_VERSION_STRING VERSION_LESS 1.70.0)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Fox for CentOS 7 with cmake3 and gcc8
|
# Fix for CentOS 7 with cmake3 and gcc8
|
||||||
if(Boost_VERSION_STRING VERSION_LESS "1.60")
|
if(Boost_VERSION_STRING VERSION_LESS "1.60")
|
||||||
set(USE_GENERIC_LAMBDAS OFF)
|
set(USE_GENERIC_LAMBDAS OFF)
|
||||||
endif()
|
endif()
|
||||||
@@ -1020,6 +1020,11 @@ if(Boost_VERSION_STRING VERSION_GREATER 1.72.99)
|
|||||||
set(USE_BOOST_BIND_PLACEHOLDERS ON)
|
set(USE_BOOST_BIND_PLACEHOLDERS ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Fix for Boost >= 1.89 - Boost::system becomes header-only
|
||||||
|
if(Boost_VERSION_STRING VERSION_GREATER 1.88.99)
|
||||||
|
add_library(Boost::system ALIAS Boost::headers)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ All notable changes to GNSS-SDR will be documented in this file.
|
|||||||
- Updated `gsl-lite` to v1.0.1. See the
|
- Updated `gsl-lite` to v1.0.1. See the
|
||||||
[gsl-lite release](https://github.com/gsl-lite/gsl-lite/releases/tag/v1.0.1).
|
[gsl-lite release](https://github.com/gsl-lite/gsl-lite/releases/tag/v1.0.1).
|
||||||
- Updated local `cpu_features` library to v0.10.1.
|
- Updated local `cpu_features` library to v0.10.1.
|
||||||
|
- Allow linking against Boost 1.89.0.
|
||||||
|
|
||||||
### Improvements in Usability:
|
### Improvements in Usability:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user