mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00: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)
|
add_dependencies(${apiset_name} xdk)
|
||||||
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
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)
|
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||||
else()
|
else()
|
||||||
target_compile_options(${apiset_name} PRIVATE /wd4026 /wd4273)
|
target_compile_options(${apiset_name} PRIVATE /wd4026 /wd4273)
|
||||||
|
|
Loading…
Reference in a new issue