Actually use the xxd binary that was found

master
Sfan5 2014-03-14 22:50:27 +01:00
parent 2e848b9d8e
commit 0ff8f026ba
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ endif (XXD_EXECUTABLE)
add_custom_command(
OUTPUT colors.h
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/colors.txt colors.txt
COMMAND xxd -i colors.txt colors.h
COMMAND ${XXD_EXECUTABLE} -i colors.txt colors.h
DEPENDS colors.txt
)
set_property(SOURCE TileGenerator.cpp APPEND PROPERTY OBJECT_DEPENDS colors.h)