add_pch(libxslt precomp.h SOURCE)
add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
-if(NOT MSVC)
+if(USE_CLANG_CL OR (NOT MSVC))
add_target_compile_flags(libxslt "-Wno-pointer-sign -Wno-unused-function")
- if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
- add_target_compile_flags(libxslt "-Wno-unused-but-set-variable")
- endif()
endif()