Removed Boost Thread as a built-time dependency

We use std::thread now.
This commit is contained in:
Charles Dang 2018-04-13 23:55:25 +11:00
parent 7cf9341379
commit 9de7aff904
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@

# set minimum version
cmake_minimum_required(VERSION 2.8.5)
@ -79,7 +79,7 @@ endif()
find_package(SDL2 2.0.4 REQUIRED)
find_package(Crypto 1.0 REQUIRED)
find_package(Boost 1.56 REQUIRED COMPONENTS iostreams program_options regex system thread random)
find_package(Boost 1.56 REQUIRED COMPONENTS iostreams program_options regex system random)
# no, gettext executables are not required when NLS is deactivated
find_package(Gettext)

View file

@ -25,7 +25,6 @@ order to build Wesnoth:
* Regex
* Program Options
* System
* Thread
* SDL2 libraries:
* SDL2 >= 2.0.4
* SDL2_image >= 2.0.0 (with PNG and JPEG support)

View file

@ -371,7 +371,6 @@ if env["prereqs"]:
conf.CheckBoost("smart_ptr", header_only = True) & \
conf.CheckBoost("locale") & \
CheckAsio(conf) & \
conf.CheckBoost("thread", require_version = boost_version) & \
conf.CheckBoost("filesystem") \
and Info("Base prerequisites are met")) \
or Warning("Base prerequisites are not met")

View file

@ -32,6 +32,8 @@
Galician, Polish, Scottish Gaelic, Spanish, Ukrainian
### Multiplayer
* Added team color to a few background units missing in Aethermaw.
### Packaging
* Boost Thread is no longer a build-time dependency.
### User Interface
* Swapped the position and formatting of game names and titles in the MP lobby.
* Made Faction Select button's purpose more clear in MP Staging.