[dotnet] Add /MT flag for nuget package build
This commit is contained in:
parent
c75f3743d4
commit
545c9ed24e
2
.github/workflows/Nuget-publishing.yml
vendored
2
.github/workflows/Nuget-publishing.yml
vendored
@ -80,6 +80,7 @@ jobs:
|
||||
-B . \
|
||||
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
|
||||
-G "${{ matrix.config.generators }}" \
|
||||
-DCMAKE_C_FLAGS="//MT" \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=instdir \
|
||||
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
|
||||
cmake --build . --config ${{ matrix.config.build_type }}
|
||||
@ -107,6 +108,7 @@ jobs:
|
||||
-A "win32" \
|
||||
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
|
||||
-G "${{ matrix.config.generators }}" \
|
||||
-DCMAKE_C_FLAGS="//MT" \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=instdir \
|
||||
-DBUILD_SHARED_LIBS=${{ matrix.config.shared }}
|
||||
cmake --build . --config ${{ matrix.config.build_type }}
|
||||
|
Loading…
Reference in New Issue
Block a user