Skip to content

Commit 507e02a

Browse files
committed
remove boost 1.70 mention about Boost::headers
1 parent 9e5178c commit 507e02a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docs/packages/pkg/Boost.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
Boost
66
=====
77

8-
Since boost 1.70 you should use for header only libraries as target:
9-
108
.. code-block:: cmake
119
1210
# Header-only libraries

examples/Boost/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hunter_add_package(Boost)
1515
find_package(Boost CONFIG REQUIRED)
1616

1717
add_executable(foo foo.cpp)
18-
target_link_libraries(foo PUBLIC Boost::headers) # Since boost 1.70 you should use Boost::headers as target
18+
target_link_libraries(foo PUBLIC Boost::headers)
1919

2020
set(project_license "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.txt")
2121
file(

0 commit comments

Comments
 (0)