mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-08 08:41:21 +00:00
Print out version of clang-tidy
This commit is contained in:
parent
743601930a
commit
b87d8b96ef
1 changed files with 3 additions and 2 deletions
|
@ -352,8 +352,9 @@ if ( enable-profiling )
|
|||
DOC "Path to clang-tidy executable" )
|
||||
|
||||
if ( CLANG_TIDY )
|
||||
message ( STATUS "Found clang-tidy" )
|
||||
set ( CMAKE_C_CLANG_TIDY "clang-tidy" )
|
||||
message ( STATUS "Found clang-tidy at ${CLANG_TIDY}" )
|
||||
execute_process ( COMMAND ${CLANG_TIDY} "--version" )
|
||||
set ( CMAKE_C_CLANG_TIDY ${CLANG_TIDY} )
|
||||
endif ( CLANG_TIDY )
|
||||
endif ( CMAKE_VERSION VERSION_GREATER "3.6.0" )
|
||||
|
||||
|
|
Loading…
Reference in a new issue