mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 19:24:48 +02:00
Fix linkage errors when linking with a shared library (#2011)
This commit is contained in:
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
@@ -12,6 +12,11 @@ jobs:
|
||||
os: [windows-2016, windows-2019]
|
||||
platform: [Win32, x64]
|
||||
build_type: [Debug, Release]
|
||||
include:
|
||||
- os: windows-2016
|
||||
platform: Win32
|
||||
build_type: Debug
|
||||
shared: -DBUILD_SHARED_LIBS=ON
|
||||
exclude:
|
||||
- os: windows-2016
|
||||
platform: Win32
|
||||
@@ -27,7 +32,7 @@ jobs:
|
||||
shell: bash
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: |
|
||||
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
|
||||
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.shared}} \
|
||||
-A ${{matrix.platform}} $GITHUB_WORKSPACE
|
||||
|
||||
- name: Build
|
||||
|
Reference in New Issue
Block a user