Skip to content

Commit

Permalink
gen: Respect CMAKE_CROSSCOMPILING_EMULATOR setting
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Dec 19, 2022
1 parent 86d8d8f commit beec45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Expand Up @@ -18,7 +18,7 @@ target_compile_definitions(${PROJECT_NAME} PUBLIC LIBROMFS_PROJECT_NAME=${LIBROM

# Make sure libromfs gets rebuilt when any of the resources are changed
add_custom_command(OUTPUT ${ROMFS}
COMMAND $<TARGET_FILE:generator-${LIBROMFS_PROJECT_NAME}>
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:generator-${LIBROMFS_PROJECT_NAME}>
DEPENDS ../generator ${ROMFS_FILES}
)

Expand Down

0 comments on commit beec45a

Please sign in to comment.