13 lines
518 B
Diff
13 lines
518 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 5c9c405..42e05e3 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -403,6 +403,7 @@ if (NOT (MACOS_BUNDLE AND (NOT CMAKE_OSX_ARCHITECTURES MATCHES "${SYSTEM_MACOS_A
|
|
add_custom_command(
|
|
OUTPUT g2.dat
|
|
COMMAND ./openrct2-cli sprite build ${CMAKE_BINARY_DIR}/g2.dat ${ROOT_DIR}/resources/g2/sprites.json
|
|
+ DEPENDS openrct2-cli
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
|
)
|
|
add_custom_target(g2 DEPENDS ${PROJECT_NAME} g2.dat)
|