Is there any way to detect a program's version in cmake?

后端 未结 0 1270
忘掉有多难
忘掉有多难 2021-01-05 17:11

I tried to use clang-format to format my cpp project. My cmake file is as follows:

... 
find_program(CLANG_FORMAT_BIN_NAME NAMES clang-format-3.8 PATH /usr/bi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题