1 2remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502) 3add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600) 4 5spec2def(normaliz.dll normaliz.spec ADD_IMPORTLIB) 6 7list(APPEND SOURCE 8 IdnToAscii.c 9 IdnToUnicode.c 10 nameprep.c 11 normalize.c 12 ${CMAKE_CURRENT_BINARY_DIR}/normaliz.def) 13 14add_library(normaliz MODULE ${SOURCE}) 15set_module_type(normaliz win32dll ENTRYPOINT 0) 16add_importlibs(normaliz msvcrt kernel32 ntdll) 17add_cd_file(TARGET normaliz DESTINATION reactos/system32 FOR all) 18