File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,15 @@ jobs:
2727 run : |
2828 brew install mysql-client@8.4
2929 brew install openssl
30- brew install boost
30+ brew install boost@1.85
31+ brew link boost@1.85
3132 echo "OPENSSL_ROOT_DIR=$(brew --prefix --installed openssl)" >> $GITHUB_ENV
3233
3334 - name : Configure
3435 env :
3536 BOOST_ROOT : /opt/homebrew/opt/boost
36- run : cmake -B ${{env.BUILD_DIR}} -S ${{env.REPO_DIR}} -DBoost_ARCHITECTURE=-arm64
37+ CMAKE_PREFIX_PATH : /opt/homebrew
38+ run : cmake -B ${{env.BUILD_DIR}} -S ${{env.REPO_DIR}} -DBoost_ARCHITECTURE=-arm64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
3739
3840 - name : Build
3941 env :
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ if (POLICY CMP0074)
211211endif ()
212212
213213# Find needed packages and if necessery abort if something important is missing
214- find_package (Boost REQUIRED COMPONENTS system program_options thread regex serialization filesystem)
214+ find_package (Boost REQUIRED COMPONENTS program_options thread regex serialization filesystem)
215215
216216if (NOT Boost_FOUND AND (BUILD_GAME_SERVER OR BUILD_LOGIN_SERVER))
217217 message (STATUS "BOOST_ROOT = $ENV{BOOST_ROOT} " )
You can’t perform that action at this time.
0 commit comments