Correct path to sprite file

This commit is contained in:
X123M3-256 2017-01-18 10:24:19 +00:00 committed by Ted John
parent 7f74e07f2d
commit edd830293c
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ else (WIN32)
endif (NOT DISABLE_RCT2)
add_custom_command(
OUTPUT g2.dat
COMMAND ./openrct2 sprite build ${CMAKE_BINARY_DIR}/g2.dat ${CMAKE_CURRENT_SOURCE_DIR}/resources/g2/
COMMAND ./openrct2 --verbose sprite build ${CMAKE_BINARY_DIR}/g2.dat ${CMAKE_CURRENT_SOURCE_DIR}/resources/g2/sprites.json
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)