mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 02:56:43 +01:00
cmake: don't use clang-tidy on MinGW
It doesn't work well.
This commit is contained in:
parent
e491a78cbd
commit
9266ab65b6
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
|
|||
endif(APPLE)
|
||||
|
||||
set(USE_CLANG_TIDY "yes" CACHE STRING "Analyze the code with clang-tidy" )
|
||||
if(USE_CLANG_TIDY)
|
||||
if(USE_CLANG_TIDY AND NOT MINGW)
|
||||
find_program(CLANG_TIDY_EXE NAMES "clang-tidy" DOC "Path to clang-tidy executable")
|
||||
if(NOT CLANG_TIDY_EXE)
|
||||
message(STATUS "clang-tidy not found, analysis disabled")
|
||||
|
|
Loading…
Reference in a new issue