diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 88c19355960..0ce2341fc2e 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -22,7 +22,7 @@ if(WITH_LEGACY_OPENGL) add_definitions(-DWITH_LEGACY_OPENGL) endif() -if(WITH_CLANG_TIDY) +if(WITH_CLANG_TIDY AND NOT MSVC) if(NOT CMAKE_C_COMPILER_ID MATCHES "Clang") message(WARNING "Currently Clang-Tidy might fail with GCC toolchain, switch to Clang toolchain if that happens") endif() |