From 7bd8909cedd469b19661efdd5c5432c4fcd7bf02 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 17 Jun 2011 10:53:45 +0000 Subject: [PATCH] [SFC] * Add sfc_os import lib target. * Link sfc to sfc_os. * Fixes msvc build. svn path=/trunk/; revision=52302 --- reactos/dll/win32/sfc/CMakeLists.txt | 2 +- reactos/dll/win32/sfc_os/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/reactos/dll/win32/sfc/CMakeLists.txt b/reactos/dll/win32/sfc/CMakeLists.txt index 7f5d5f92242..9be0fb71fbc 100644 --- a/reactos/dll/win32/sfc/CMakeLists.txt +++ b/reactos/dll/win32/sfc/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(sfc SHARED ${SOURCE}) set_module_type(sfc win32dll) -add_importlibs(sfc msvcrt kernel32 ntdll) +add_importlibs(sfc sfc_os msvcrt kernel32 ntdll) add_pch(sfc precomp.h) add_cd_file(TARGET sfc DESTINATION reactos/system32 FOR all) diff --git a/reactos/dll/win32/sfc_os/CMakeLists.txt b/reactos/dll/win32/sfc_os/CMakeLists.txt index d581aa7bae0..0ffd0e7d5ca 100644 --- a/reactos/dll/win32/sfc_os/CMakeLists.txt +++ b/reactos/dll/win32/sfc_os/CMakeLists.txt @@ -9,8 +9,7 @@ list(APPEND SOURCE add_library(sfc_os SHARED ${SOURCE}) set_module_type(sfc_os win32dll) - add_importlibs(sfc_os msvcrt kernel32 ntdll) +add_importlib_target(sfc_os.spec) add_pch(sfc_os precomp.h) - add_cd_file(TARGET sfc_os DESTINATION reactos/system32 FOR all)