📝 Update readme with cmake

This commit is contained in:
2021-08-23 13:36:13 +02:00
parent 6e23d82c0a
commit 166f9ed947
4 changed files with 78 additions and 9 deletions

View File

@@ -2,11 +2,6 @@ macro(mgs text)
execute_process(COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green --bold ${text})
endmacro()
string(REPLACE "/" ";" RLIST "${GH_REPO}")
list(GET RLIST 0 OWNER)
list(GET RLIST 1 TOOL)
mgs("TOOL \"${TOOL}\" OWNER \"${OWNER}\"")
SET(URL "https://api.github.com/repos/${OWNER}/${TOOL}/releases/latest")