2 if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
3 add_compile_flags("-Wno-misleading-indentation")
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libxslt
7 ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libwin-iconv)
41 add_library(libxslt MODULE ${SOURCE})
42 set_module_type(libxslt win32dll)
43 target_link_libraries(libxslt libxml2 iconv-static zlib)
44 add_importlibs(libxslt msvcrt ws2_32 kernel32)
47 add_importlibs(libxslt ntdll)
50 add_pch(libxslt precomp.h SOURCE)
51 add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
53 if(USE_CLANG_CL OR (NOT MSVC))
54 add_target_compile_flags(libxslt "-Wno-pointer-sign -Wno-unused-function")