[LIBXSLT] Disable misleading-indentation warnings

Fixes GCC 8 warning:
dll/3rdparty/libxslt/security.c:358:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
     else
     ^~~~
dll/3rdparty/libxslt/security.c:365:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  if (ret <= 0) {
  ^~
This commit is contained in:
Timo Kreuzer 2019-04-28 21:35:13 +02:00 committed by Hervé Poussineau
parent 089d59bc6c
commit 51fbf9e8c0

View file

@ -1,4 +1,8 @@
if(NOT MSVC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
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)