https://git.reactos.org/?p=reactos.git;a=commitdiff;h=69dffed3f7f6f6bad0f83…
commit 69dffed3f7f6f6bad0f834352ab44053646758c1
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Thu Jan 7 22:46:50 2021 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Fri Jan 15 20:43:10 2021 +0100
[CMAKE] Fix MSVC configuring
---
sdk/lib/crt/msvcrtex.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/sdk/lib/crt/msvcrtex.cmake b/sdk/lib/crt/msvcrtex.cmake
index d969ba53b47..06bab6a5021 100644
--- a/sdk/lib/crt/msvcrtex.cmake
+++ b/sdk/lib/crt/msvcrtex.cmake
@@ -109,6 +109,7 @@ if(MSVC AND (ARCH STREQUAL "i386"))
add_asm_files(ftol2_asm math/i386/ftol2_asm.s)
add_library(ftol2_sse OBJECT ${ftol2_asm})
target_compile_definitions(ftol2_sse PRIVATE
$<TARGET_PROPERTY:msvcrtex,COMPILE_DEFINITIONS>)
+ set_target_properties(ftol2_sse PROPERTIES LINKER_LANGUAGE C)
endif()