Automate running clang-format if it is available.

This commit is contained in:
Chris Marsh
2017-07-25 10:15:42 -07:00
parent 7a6172a300
commit fbd8d6897d
3 changed files with 30 additions and 6 deletions

View File

@ -11,3 +11,5 @@ if(UNIX)
endif(UNIX)
target_include_directories(discord-rpc PRIVATE ${RAPIDJSON}/include)
add_dependencies(discord-rpc clangformat)