From 0ff8f026bafe25d18a0c5a3322506833348443f7 Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Fri, 14 Mar 2014 22:50:27 +0100 Subject: [PATCH] Actually use the xxd binary that was found --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 566860b..668c080 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)