allow to compile/run 64bit version of VR lib, workaround for issue that both 32bit and 64bit version is called openvr_api.dll

Now 64bit version is called openvr64pi.dll (patched the 64bit binary library openvr_api.lib)
See also https://github.com/ValveSoftware/openvr/issues/412
This commit is contained in:
Erwin Coumans
2017-02-22 15:50:09 -08:00
parent bd30ba30ce
commit 0b27edf172
3 changed files with 8 additions and 3 deletions

View File

@@ -318,7 +318,11 @@ if os.is("Windows") then
"../ThirdPartyLibs/openvr/samples/shared/Vectors.h",
}
if os.is("Windows") then
libdirs {"../ThirdPartyLibs/openvr/lib/win32"}
configuration {"x32"}
libdirs {"../ThirdPartyLibs/openvr/lib/win32"}
configuration {"x64"}
libdirs {"../ThirdPartyLibs/openvr/lib/win64"}
configuration{}
end
if os.is("Linux") then initX11() end