From 30482d290adca9830056c1cdb0c038e004096e1a Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Wed, 5 Oct 2022 11:50:15 +0200 Subject: [PATCH] add boost 1.75 dependency this should be available on most platforms. boost allows us to simplify a LOT of code. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b870a2b..27ff731 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,6 +95,8 @@ include(FindOpenSSL) include(FindThreads) include(FindZLIB) +find_package(Boost 1.75 REQUIRED COMPONENTS system) + set(BeamMP_Sources include/TConsole.h src/TConsole.cpp include/TServer.h src/TServer.cpp @@ -170,6 +172,7 @@ if (UNIX) endif() set(BeamMP_Libraries + Boost::boost doctest::doctest OpenSSL::SSL OpenSSL::Crypto