3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 09:20: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

@ -140,6 +140,11 @@ endforeach()
# Note, nuget package file names do not have the ${VER_REV} part.
set(Z3_DOTNET_NUPKG_VERSION "${VER_MAJOR}.${VER_MINOR}.${VER_BUILD}")
if("${TARGET_ARCHITECTURE}" STREQUAL "i686")
set(Z3_DOTNET_PLATFORM "x86")
else()
set(Z3_DOTNET_PLATFORM "Any CPU")
endif()
# TODO conditional for signing. we can then enable the ``Release_delaysign`` configuration