mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 12:03:31 +08:00
[APISETS] Try to fix build of both case of MSVC AND CLANG
This commit is contained in:
parent
89bd2d12da
commit
926ada989c
@ -24,7 +24,9 @@ function (add_apiset apiset_name baseaddress)
|
||||
add_dependencies(${apiset_name} xdk)
|
||||
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
||||
|
||||
if(NOT MSVC)
|
||||
if(MSVC AND CLANG)
|
||||
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||
elseif(NOT MSVC)
|
||||
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||
else()
|
||||
target_compile_options(${apiset_name} PRIVATE /wd4026 /wd4273)
|
||||
|
Loading…
Reference in New Issue
Block a user