Merge pull request #352 from jku/install

Support installing demos, support out-of-tree builds
This commit is contained in:
Sascha Willems 2017-09-02 14:02:34 +02:00 committed by GitHub
commit a3b8534e5f
2 changed files with 16 additions and 1 deletions

View file

@ -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