mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[CMAKE] Statically link _ftol2/__ftoul2_legacy to libntdll
This is needed to resolve symbols of native applications like usetup, when compiled with latest VS.
This commit is contained in:
parent
f637e6b809
commit
64b58397f3
2 changed files with 14 additions and 0 deletions
|
@ -45,3 +45,12 @@ add_library(user32_wsprintf
|
|||
|
||||
add_dependencies(user32_wsprintf psdk)
|
||||
target_compile_definitions(user32_wsprintf PRIVATE _USER32_WSPRINTF)
|
||||
|
||||
if(MSVC AND ARCH STREQUAL "i386")
|
||||
add_asm_files(ftol2_asm
|
||||
math/i386/ftol2_asm.s
|
||||
)
|
||||
add_library(ftol2 ${ftol2_asm})
|
||||
set_target_properties(ftol2 PROPERTIES LINKER_LANGUAGE "C")
|
||||
add_dependencies(ftol2 asm)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue