diff --git a/dll/win32/acledit/CMakeLists.txt b/dll/win32/acledit/CMakeLists.txt index af6252ffdff..3e1608ab0b1 100644 --- a/dll/win32/acledit/CMakeLists.txt +++ b/dll/win32/acledit/CMakeLists.txt @@ -1,19 +1,22 @@ set_unicode() +spec2def(acledit.dll acledit.spec) + list(APPEND SOURCE acledit.c stubs.c - acledit.rc) + acledit.rc + ${CMAKE_CURRENT_BINARY_DIR}/acledit.def) + add_library(acledit SHARED ${SOURCE}) set_module_type(acledit win32dll) -set_pdef_file(acledit acledit.pdef) - add_importlibs(acledit ntdll) add_cab_target(acledit 1) -add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/acledit.def) +add_importlib_target(acledit.spec) +