Drawable Renderer (#1570), CMake syntax

This commit is contained in:
mwilsnd
2023-07-06 14:45:15 -05:00
committed by Bart Louwers
parent 00a7bdb4ed
commit d755e40619

View File

@@ -26,7 +26,7 @@ if (MLN_WITH_CLANG_TIDY)
# TODO: there are options which are only available on GCC(e.g. -Werror=maybe-uninitialized),
# that's why we need to disable this `unknown-warning-option` here.
# We could check if current compiler supports particular flag before enabling it.
set(CLANG_TIDY_COMMAND "${CLANG_TIDY_COMMAND};--extra-arg=-Wno-error=unknown-warning-option --extra-arg=-Wno-error=pragmas")
set(CLANG_TIDY_COMMAND "${CLANG_TIDY_COMMAND};--extra-arg=-Wno-error=unknown-warning-option;--extra-arg=-Wno-error=pragmas")
endif()
if (MLN_WITH_QT AND NOT CMAKE_OSX_DEPLOYMENT_TARGET)