3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-07 11:41:22 +00:00

dotnet: identifies arch-specific native libraries

This commit is contained in:
Yatao Li 2019-01-12 20:04:44 +08:00
parent 3767c311aa
commit 4b3189f3e2
3 changed files with 8 additions and 2 deletions

View file

@ -76,7 +76,7 @@ ${Z3_DOTNET_COMPILE_ITEMS}
<!-- TODO we may want to pack x64 and x86 native assemblies into a single nupkg -->
<!-- Native binaries x64 -->
<ItemGroup Condition="'$(Platform)' == 'x64'">
<ItemGroup Condition="'$(Platform)' != 'x86'">
<Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(Configuration)/libz3.dll" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/$(Configuration)/libz3.dll')">
<PackagePath>runtimes\win-x64\native</PackagePath>
</Content>