From b6b5fd1ce3b9db80a514f73136f3353b4c15723a Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Wed, 5 Jul 2017 16:47:26 +0200 Subject: [PATCH] Fixing Vulkan paths in build script. --- build/VulkanSample_2015.vcxproj | 8 ++++---- premake/premake5.lua | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/VulkanSample_2015.vcxproj b/build/VulkanSample_2015.vcxproj index 7356274..038c987 100644 --- a/build/VulkanSample_2015.vcxproj +++ b/build/VulkanSample_2015.vcxproj @@ -61,7 +61,7 @@ Level3 true WIN32;_CONSOLE;PROFILE;_WINDOWS;_WIN32_WINNT=0x0601;_DEBUG;DEBUG;%(PreprocessorDefinitions) - ..\third_party\mathfu-1.1.0\include;%(AdditionalIncludeDirectories) + ..\third_party\mathfu-1.1.0\include;$(VULKAN_SDK)\Include;%(AdditionalIncludeDirectories) Disabled Fast /MDd %(AdditionalOptions) @@ -69,7 +69,7 @@ Console vulkan-1.lib;%(AdditionalDependencies) - $(VULKAN_SDK)\Bin;%(AdditionalLibraryDirectories) + $(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) mainCRTStartup true @@ -80,7 +80,7 @@ Level3 true WIN32;_CONSOLE;PROFILE;_WINDOWS;_WIN32_WINNT=0x0601;NDEBUG;%(PreprocessorDefinitions) - ..\third_party\mathfu-1.1.0\include;%(AdditionalIncludeDirectories) + ..\third_party\mathfu-1.1.0\include;$(VULKAN_SDK)\Include;%(AdditionalIncludeDirectories) Full true true @@ -94,7 +94,7 @@ true true vulkan-1.lib;%(AdditionalDependencies) - $(VULKAN_SDK)\Bin;%(AdditionalLibraryDirectories) + $(VULKAN_SDK)\Lib;%(AdditionalLibraryDirectories) mainCRTStartup true diff --git a/premake/premake5.lua b/premake/premake5.lua index 26b476a..d77ccc9 100644 --- a/premake/premake5.lua +++ b/premake/premake5.lua @@ -12,8 +12,8 @@ startproject "VulkanSample" filter "platforms:x64" system "Windows" architecture "x64" -includedirs { "../third_party/mathfu-1.1.0/include" } -libdirs { "$(VULKAN_SDK)\\Bin" } +includedirs { "../third_party/mathfu-1.1.0/include", "$(VULKAN_SDK)/Include" } +libdirs { "$(VULKAN_SDK)/Lib" } project "VulkanSample" kind "ConsoleApp"