Revert recent change to assets install for cross-compile
Since existing textures and models are still installed at the root, it didn't have any noticeable effect other than to create an empty folder. The change was made because it looked like it should be updated like the shaders folder, but it wasn't solving any problem, so switching it back seems the best.
This commit is contained in:
parent
a0ef2fcea6
commit
5606406604
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ endfunction(buildExamples)
|
|||
if(RESOURCE_INSTALL_DIR)
|
||||
add_definitions(-DVK_EXAMPLE_ASSETS_DIR=\"${RESOURCE_INSTALL_DIR}/\")
|
||||
add_definitions(-DVK_EXAMPLE_SHADERS_DIR=\"${RESOURCE_INSTALL_DIR}/shaders/\")
|
||||
install(DIRECTORY assets/ DESTINATION ${RESOURCE_INSTALL_DIR}/assets/)
|
||||
install(DIRECTORY assets/ DESTINATION ${RESOURCE_INSTALL_DIR}/)
|
||||
install(DIRECTORY shaders/ DESTINATION ${RESOURCE_INSTALL_DIR}/shaders/)
|
||||
else()
|
||||
add_definitions(-DVK_EXAMPLE_ASSETS_DIR=\"${CMAKE_SOURCE_DIR}/assets/\")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue