Fix runtime shaders path for cross-compile case
This commit is contained in:
parent
c2cee9654c
commit
83d8d02b64
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ endfunction(buildExamples)
|
||||||
|
|
||||||
if(RESOURCE_INSTALL_DIR)
|
if(RESOURCE_INSTALL_DIR)
|
||||||
add_definitions(-DVK_EXAMPLE_ASSETS_DIR=\"${RESOURCE_INSTALL_DIR}/\")
|
add_definitions(-DVK_EXAMPLE_ASSETS_DIR=\"${RESOURCE_INSTALL_DIR}/\")
|
||||||
add_definitions(-DVK_EXAMPLE_SHADERS_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}/assets/)
|
||||||
install(DIRECTORY shaders/ DESTINATION ${RESOURCE_INSTALL_DIR}/shaders/)
|
install(DIRECTORY shaders/ DESTINATION ${RESOURCE_INSTALL_DIR}/shaders/)
|
||||||
else()
|
else()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue