https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2bfbaa66fc254c05870d0…
commit 2bfbaa66fc254c05870d07c13ceab50ea2be8882
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sun Dec 31 13:18:07 2017 +0100
[DXTN] Fix MSVC build with runtime checks.
---
dll/3rdparty/dxtn/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/3rdparty/dxtn/CMakeLists.txt b/dll/3rdparty/dxtn/CMakeLists.txt
index e2e95fb08c..6a9c643287 100644
--- a/dll/3rdparty/dxtn/CMakeLists.txt
+++ b/dll/3rdparty/dxtn/CMakeLists.txt
@@ -6,6 +6,6 @@ add_library(dxtn SHARED
txc_fetch_dxtn.c
${CMAKE_CURRENT_BINARY_DIR}/dxtn.def)
-set_entrypoint(dxtn 0)
-add_importlibs(dxtn msvcrt)
+set_module_type(dxtn win32dll ENTRYPOINT 0)
+add_importlibs(dxtn msvcrt kernel32)
add_cd_file(TARGET dxtn DESTINATION reactos/system32 FOR all)