From 070543284f608a71a310e442be221c13947a62dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Mon, 1 Nov 2010 22:55:56 +0000 Subject: [PATCH] [CMAKE] - improve win32k/CMakeLists.txt svn path=/branches/cmake-bringup/; revision=49418 --- subsystems/win32/win32k/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/subsystems/win32/win32k/CMakeLists.txt b/subsystems/win32/win32k/CMakeLists.txt index 5d9b94289fe..8b0f9e8d91a 100644 --- a/subsystems/win32/win32k/CMakeLists.txt +++ b/subsystems/win32/win32k/CMakeLists.txt @@ -145,7 +145,12 @@ list(APPEND SOURCE objects/xformobj.c stubs/stubs.c stubs/umpdstubs.c - win32k.rc) + win32k.rc + win32k_${ARCH}.def) + +if(NOT MSVC) + set_source_files_properties(win32k_${ARCH}.def PROPERTIES EXTERNAL_OBJECT TRUE) +endif() list(APPEND GENDIB_GENERATED ${CMAKE_CURRENT_BINARY_DIR}/dib/dib8gen.c @@ -180,7 +185,6 @@ add_library(win32k SHARED set_module_type(win32k kernelmodedriver) target_link_libraries(win32k - ${CMAKE_CURRENT_SOURCE_DIR}/win32k_i386.def ${PSEH_LIB} dxguid libcntpr) -- 2.17.1