mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
[CMake] The bug in mono that causes the `gacutil
` utility to crash if
the assembly was compiled with ``/platform:x64`` has now been reported so update the comments to reflect this.
This commit is contained in:
parent
c52c999393
commit
cc12b1ebce
|
@ -188,9 +188,12 @@ list(APPEND CSC_FLAGS
|
|||
"$<$<NOT:$<CONFIG:Debug>>:/optimize+>"
|
||||
)
|
||||
|
||||
# FIXME: Mono's gacutil crashes if we set the platform. This bug should
|
||||
# be reported and fixed. However for Mono the platform flag is ignored
|
||||
# so it shouldn't matter in practice.
|
||||
# Mono's gacutil crashes when trying to install an assembly if we set the
|
||||
# platform in some cases, so only set it on Windows. This bug has been
|
||||
# reported at https://bugzilla.xamarin.com/show_bug.cgi?id=39955 . However mono
|
||||
# ignores the platform of an assembly when running it (
|
||||
# http://lists.ximian.com/pipermail/mono-devel-list/2015-November/043370.html )
|
||||
# so this shouldn't matter in practice.
|
||||
if (DOTNET_TOOLCHAIN_IS_WINDOWS)
|
||||
# Set platform for assembly
|
||||
if ("${TARGET_ARCHITECTURE}" STREQUAL "x86_64")
|
||||
|
|
Loading…
Reference in a new issue