2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/libxslt
3 ${REACTOS_SOURCE_DIR}/lib/3rdparty/libwin-iconv)
38 add_library(libxslt SHARED ${SOURCE})
39 set_module_type(libxslt win32dll)
40 target_link_libraries(libxslt libxml2 iconv-static zlib)
41 add_importlibs(libxslt msvcrt ws2_32 kernel32)
44 add_importlibs(libxslt ntdll)
47 add_pch(libxslt precomp.h SOURCE)
48 add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
51 add_target_compile_flags(libxslt "-Wno-pointer-sign -Wno-unused-function")
52 if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
53 add_target_compile_flags(libxslt "-Wno-unused-but-set-variable")