reactos/dll/win32/cryptdll/CMakeLists.txt
Timo Kreuzer b32867cfba [CMAKE]
Link cryptdll to advapi32

svn path=/branches/cmake-bringup/; revision=50627
2011-02-09 10:30:01 +00:00

19 lines
424 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(cryptdll.dll cryptdll.spec)
list(APPEND SOURCE
cryptdll.c
stubs.c
${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
add_library(cryptdll SHARED ${SOURCE})
set_module_type(cryptdll win32dll)
target_link_libraries(cryptdll wine)
add_importlibs(cryptdll advapi32 msvcrt kernel32 ntdll)
add_cab_target(cryptdll 1)