[APISETS] Declare them as modules instead of win32dll

This commit is contained in:
Jérôme Gardou 2020-10-22 15:15:46 +02:00 committed by Jérôme Gardou
parent 5c25e816bf
commit bada20a361
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)