https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bada20a361d385a779901c3fe0c40fe55dcde1d7

commit bada20a361d385a779901c3fe0c40fe55dcde1d7
Author:     Jérôme Gardou <[email protected]>
AuthorDate: Thu Oct 22 15:15:46 2020 +0200
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Thu Oct 22 18:07:27 2020 +0200

    [APISETS] Declare them as modules instead of win32dll
---
 dll/apisets/CMakeLists.txt    | 2 +-
 dll/apisets/CMakeLists.txt.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/apisets/CMakeLists.txt b/dll/apisets/CMakeLists.txt
index 27b82d2a281..a08f9f12d36 100644
--- a/dll/apisets/CMakeLists.txt
+++ b/dll/apisets/CMakeLists.txt
@@ -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)
diff --git a/dll/apisets/CMakeLists.txt.in b/dll/apisets/CMakeLists.txt.in
index 69aaa9fa38d..12ca868f641 100644
--- a/dll/apisets/CMakeLists.txt.in
+++ b/dll/apisets/CMakeLists.txt.in
@@ -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)

Reply via email to