+if(NOT MSVC)
+ add_compile_flags("-Wno-misleading-indentation")
+endif()
+
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libxslt
${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libwin-iconv)
xsltutils.c
precomp.h)
-add_library(libxslt SHARED ${SOURCE})
+add_library(libxslt MODULE ${SOURCE})
set_module_type(libxslt win32dll)
target_link_libraries(libxslt libxml2 iconv-static zlib)
add_importlibs(libxslt msvcrt ws2_32 kernel32)
add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
if(USE_CLANG_CL OR (NOT MSVC))
- add_target_compile_flags(libxslt "-Wno-pointer-sign -Wno-unused-function")
+ target_compile_options(libxslt PRIVATE -Wno-pointer-sign -Wno-unused-function)
endif()