mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[APISETS] Declare them as modules instead of win32dll
This commit is contained in:
parent
5c25e816bf
commit
bada20a361
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ function (add_apiset apiset_name baseaddress)
|
|||
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
|
||||
|
||||
add_dependencies(${apiset_name} xdk)
|
||||
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
||||
set_module_type(${apiset_name} module UNICODE IMAGEBASE ${baseaddress})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||
|
|
|
@ -22,7 +22,7 @@ function (add_apiset apiset_name baseaddress)
|
|||
${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
|
||||
|
||||
add_dependencies(${apiset_name} xdk)
|
||||
set_module_type(${apiset_name} win32dll ENTRYPOINT 0 UNICODE IMAGEBASE ${baseaddress})
|
||||
set_module_type(${apiset_name} module UNICODE IMAGEBASE ${baseaddress})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_compile_options(${apiset_name} PRIVATE -fno-builtin)
|
||||
|
|
Loading…
Reference in a new issue