🔧 Replaced cmakelist with a makefile

This commit is contained in:
2021-03-15 15:15:14 +01:00
parent 52aeae3c6c
commit ca948a78a2
5 changed files with 13 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
message("TOOL \"${TOOL}\" REPO \"${REPO}\"")
SET(URL "https://api.github.com/repos/${REPO}/releases/latest")
SET(URL "https://api.github.com/repos/${REPO}/${TOOL}/releases/latest")
execute_process(COMMAND curl -s -L ${URL} OUTPUT_VARIABLE VERSION_JSON)
string(JSON VERSION_DIRTY GET ${VERSION_JSON} tag_name)