1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +02:00

Remove boost::thread from cmakelists

This commit is contained in:
Ivan Savenko
2025-03-02 10:50:34 +00:00
parent 948abfb04c
commit 64ac14fa06
2 changed files with 2 additions and 2 deletions

View File

@@ -462,7 +462,7 @@ endif()
# Finding packages #
############################################
set(BOOST_COMPONENTS date_time filesystem locale program_options system thread)
set(BOOST_COMPONENTS date_time filesystem locale program_options system)
if(ENABLE_INNOEXTRACT)
list(APPEND BOOST_COMPONENTS iostreams)
endif()

View File

@@ -317,7 +317,7 @@ void CConsoleHandler::end()
void CConsoleHandler::start()
{
thread = std::thread(std::bind(&CConsoleHandler::run,console));
thread = std::thread(std::bind(&CConsoleHandler::run, this));
}
VCMI_LIB_NAMESPACE_END