mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +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" )
|
DOC "Path to clang-tidy executable" )
|
||||||
|
|
||||||
if ( CLANG_TIDY )
|
if ( CLANG_TIDY )
|
||||||
message ( STATUS "Found clang-tidy" )
|
message ( STATUS "Found clang-tidy at ${CLANG_TIDY}" )
|
||||||
set ( CMAKE_C_CLANG_TIDY "clang-tidy" )
|
execute_process ( COMMAND ${CLANG_TIDY} "--version" )
|
||||||
|
set ( CMAKE_C_CLANG_TIDY ${CLANG_TIDY} )
|
||||||
endif ( CLANG_TIDY )
|
endif ( CLANG_TIDY )
|
||||||
endif ( CMAKE_VERSION VERSION_GREATER "3.6.0" )
|
endif ( CMAKE_VERSION VERSION_GREATER "3.6.0" )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue