Skip to content

Commit 8a2a7e2

Browse files
committed
Remove "system" component from Boost find_package search
Boost.System is header-only so this is not required and fails with Boost 1.89
1 parent a2b0374 commit 8a2a7e2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ endif()
3535

3636

3737
include(RttrBoostCfg)
38-
find_package(Boost 1.69 REQUIRED COMPONENTS system filesystem iostreams)
38+
find_package(Boost 1.69 REQUIRED COMPONENTS filesystem iostreams)
3939

4040
include(RttrTestingCfg)
4141
if(isTopLevel)

examples/chTransparentIdx/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (C) 2005 - 2021 Settlers Freaks <sf-team at siedler25.org>
1+
# Copyright (C) 2005 - 2025 Settlers Freaks <sf-team at siedler25.org>
22
#
33
# SPDX-License-Identifier: GPL-2.0-or-later
44

5-
find_package(Boost 1.69 REQUIRED COMPONENTS system program_options)
5+
find_package(Boost 1.69 REQUIRED COMPONENTS program_options)
66

77
add_executable(chTransparentIdx chTransparentIdx.cpp)
88

examples/lstpacker/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (C) 2005 - 2021 Settlers Freaks <sf-team at siedler25.org>
1+
# Copyright (C) 2005 - 2025 Settlers Freaks <sf-team at siedler25.org>
22
#
33
# SPDX-License-Identifier: GPL-2.0-or-later
44

5-
find_package(Boost 1.69 REQUIRED COMPONENTS system program_options)
5+
find_package(Boost 1.69 REQUIRED COMPONENTS program_options)
66

77
file(GLOB _sources *.cpp *.h)
88
add_executable(lstpacker ${_sources})

0 commit comments

Comments
 (0)