X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fwin32%2Fkernel32%2FCMakeLists.txt;h=4fd471f6c6ea86353c1be11498a64dfe18ffa006;hp=113e51d18a5a6f1cfaf125e4ac40a34d7c6cea6f;hb=2e3d2c189bb62a3f70f8778d7025e71fa891d067;hpb=810a1ec99cfba2fde87c7829ffb90f13875e615b diff --git a/dll/win32/kernel32/CMakeLists.txt b/dll/win32/kernel32/CMakeLists.txt index 113e51d18a5..4fd471f6c6e 100644 --- a/dll/win32/kernel32/CMakeLists.txt +++ b/dll/win32/kernel32/CMakeLists.txt @@ -93,7 +93,8 @@ list(APPEND SOURCE thread/thread.c thread/tls.c kernel32.rc - kernel32_stubs.c) + kernel32_stubs.c + ${CMAKE_CURRENT_SOURCE_DIR}/kernel32.def) if(ARCH MATCHES i386) list(APPEND SOURCE @@ -111,8 +112,7 @@ add_library(kernel32 SHARED set_module_type(kernel32 win32dll) -target_link_libraries(kernel32 ${CMAKE_CURRENT_SOURCE_DIR}/kernel32.def - pseh) +target_link_libraries(kernel32 pseh) add_importlibs(kernel32 ntdll) add_pch(kernel32 ${CMAKE_CURRENT_SOURCE_DIR}/k32.h ${SOURCE})