mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
Fix building g2.dat if the path contains spaces/apostrophes (#7388)
This commit is contained in:
committed by
Ted John
parent
0ab3d0955c
commit
f98aae12f1
@@ -178,7 +178,7 @@ include("${ROOT_DIR}/src/openrct2-ui/CMakeLists.txt" NO_POLICY_SCOPE)
|
|||||||
# g2
|
# g2
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT g2.dat
|
OUTPUT g2.dat
|
||||||
COMMAND ./openrct2 sprite build ${CMAKE_BINARY_DIR}/g2.dat ${ROOT_DIR}/resources/g2/sprites.json
|
COMMAND ./openrct2 sprite build \"${CMAKE_BINARY_DIR}/g2.dat\" \"${ROOT_DIR}/resources/g2/sprites.json\"
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)
|
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)
|
||||||
|
|||||||
Reference in New Issue
Block a user