[DXTN] Fix MSVC build with runtime checks. 247/head
authorThomas Faber <thomas.faber@reactos.org>
Sun, 31 Dec 2017 12:18:07 +0000 (13:18 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 31 Dec 2017 18:37:23 +0000 (19:37 +0100)
dll/3rdparty/dxtn/CMakeLists.txt

index e2e95fb..6a9c643 100644 (file)
@@ -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)