Correct path to sprite file

This commit is contained in:
X123M3-256 authored and Ted John committed 2017-05-07 01:01:07 +01:00
1 parent 7f74e07f2d
commit edd830293c
1 file changed
+1 -1
+1 -1
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)