Skip to content

Commit f750bb0

Browse files
Unbreak mono build
1 parent 1603fba commit f750bb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mono/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ if (MSVC)
1515
if(EXISTS ${CLR_SOURCELINK_FILE_PATH})
1616
add_link_options("/sourcelink:${CLR_SOURCELINK_FILE_PATH}")
1717
endif()
18+
19+
# FIXME: Remove the line below when https://github.com/dotnet/runtime/issues/91249 is fixed.
20+
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4244>) # conversion from 'type1' to 'type2', possible loss of data
1821
endif(MSVC)
1922

2023
set(CROSS_ROOTFS $ENV{ROOTFS_DIR})

0 commit comments

Comments
 (0)