mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[APISETS] Try to fix build of both case of MSVC AND CLANG
This commit is contained in:
parent
89bd2d12da
commit
926ada989c
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue