Remove hardcoded path (wow)
great programming only happens here
This commit is contained in:
parent
312de5312c
commit
5d0f629ca7
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Reference in a new issue