mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-22 07:23:46 +01:00
Actually use the xxd binary that was found
This commit is contained in:
parent
2e848b9d8e
commit
0ff8f026ba
@ -69,7 +69,7 @@ endif (XXD_EXECUTABLE)
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT colors.h
|
OUTPUT colors.h
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/colors.txt colors.txt
|
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
|
DEPENDS colors.txt
|
||||||
)
|
)
|
||||||
set_property(SOURCE TileGenerator.cpp APPEND PROPERTY OBJECT_DEPENDS colors.h)
|
set_property(SOURCE TileGenerator.cpp APPEND PROPERTY OBJECT_DEPENDS colors.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user