Merge pull request #352 from jku/install
Support installing demos, support out-of-tree builds
This commit is contained in:
commit
a3b8534e5f
2 changed files with 16 additions and 1 deletions
|
|
@ -83,6 +83,8 @@ const std::string VulkanExampleBase::getAssetPath()
|
|||
{
|
||||
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||
return "";
|
||||
#elif defined(VK_EXAMPLE_DATA_DIR)
|
||||
return VK_EXAMPLE_DATA_DIR;
|
||||
#else
|
||||
return "./../data/";
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue