Removed backslash which was breaking ccmake
@@ -423,13 +423,13 @@ endif()
if(ARM_DYNAREC)
add_custom_command(
OUTPUT "${BOX86_ROOT}/src/git_head.h"
- COMMAND bash -c "echo \\\#define GITREV \\\"$(git rev-parse --short HEAD)\\\"\>${BOX86_ROOT}/src/git_head.h"
+ COMMAND bash -c "echo \\\#define GITREV \\\"$(git rev-parse --short HEAD)\\\">${BOX86_ROOT}/src/git_head.h"
DEPENDS dynarec ${ELFLOADER_SRC} ${WRAPPEDS}
VERBATIM)
else()
add_custom_command(
OUTPUT "${BOX86_ROOT}/src/git_head.h"
- COMMAND bash -c "echo \\\#define GITREV \\\"$(git rev-parse --short HEAD)\\\"\>${BOX86_ROOT}/src/git_head.h"
+ COMMAND bash -c "echo \\\#define GITREV \\\"$(git rev-parse --short HEAD)\\\">${BOX86_ROOT}/src/git_head.h"
DEPENDS ${ELFLOADER_SRC} ${WRAPPEDS}
VERBATIM)
endif()
