Archived
1
Fork 0

Remove hardcoded path (wow)

great programming only happens here
This commit is contained in:
Joshua Goins 2022-02-22 09:28:45 -05:00
parent 312de5312c
commit 5d0f629ca7

View file

@ -61,7 +61,7 @@ function(add_platform_commands target)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin/data) file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin/data)
add_custom_target(${target}_copy_assets add_custom_target(${target}_copy_assets
COMMAND ${CMAKE_COMMAND} -E copy_directory /home/josh/Development/prism/example/data/ ${CMAKE_BINARY_DIR}/bin/data COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/example/data/ ${CMAKE_BINARY_DIR}/bin/data
) )
add_dependencies(${target} ${target}_copy_assets) add_dependencies(${target} ${target}_copy_assets)
endif() endif()