execute_process adds line feed to OUTPUT_VARIABLE
Using cmake 3.20.5 on macos execute_process adds a line feed to the output of a command.
In a git repository echo "\"$(git describe --tags)\""
results in "versionxyz", while
execute_process(COMMAND git describe --tags OUTPUT_VARIABLE GIT_VERSION)
message(STATUS "GIT_VERSION is \"${GIT_VERSION}\"")
results in
GIT_VERSION is "versionxyz
"