Merge pull request #1036 from CreativeCylon/fix_RESOURCE_INSTALL_DIR_shader_failure
Fix make install with RESOURCE_INSTALL_DIR not finding `shader` dir
This commit is contained in:
commit
240a56e441
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ if(RESOURCE_INSTALL_DIR)
|
|||
add_definitions(-DVK_EXAMPLE_ASSETS_DIR=\"${RESOURCE_INSTALL_DIR}/\")
|
||||
add_definitions(-DVK_EXAMPLE_SHADERS_DIR=\"${RESOURCE_INSTALL_DIR}/\")
|
||||
install(DIRECTORY assets/ DESTINATION ${RESOURCE_INSTALL_DIR}/)
|
||||
install(DIRECTORY shader/ DESTINATION ${RESOURCE_INSTALL_DIR}/)
|
||||
install(DIRECTORY shaders/ DESTINATION ${RESOURCE_INSTALL_DIR}/)
|
||||
else()
|
||||
add_definitions(-DVK_EXAMPLE_ASSETS_DIR=\"${CMAKE_SOURCE_DIR}/assets/\")
|
||||
add_definitions(-DVK_EXAMPLE_SHADERS_DIR=\"${CMAKE_SOURCE_DIR}/shaders/\")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue