Skip to content

Commit 3484846

Browse files
committed
Set MinGW Boost ABI tag
1 parent 2c576b8 commit 3484846

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ jobs:
145145
extraFlags="-DBoost_DEBUG=ON -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_INSTALL_PREFIX=$HOME/local"
146146
if ! [[ "${{matrix.generator}}" =~ "Visual Studio" ]]; then
147147
# Enable warning to find missing defines, especially important for the standalone version
148-
extraFlags="$extraFlags -DCMAKE_CXX_FLAGS=-Wundef"
148+
extraFlags+=" -DCMAKE_CXX_FLAGS=-Wundef"
149+
extraFlags+=" -DBoost_ARCHITECTURE=-x64" # ABI tag for MinGW
149150
fi
150151
cmake -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -DBUILD_SHARED_LIBS=${{matrix.shared_lib}} -G "${{matrix.generator}}" $extraFlags ..
151152
- name: Build

0 commit comments

Comments
 (0)