summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/bgfx.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/scripts/bgfx.lua')
-rw-r--r--3rdparty/bgfx/scripts/bgfx.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/bgfx/scripts/bgfx.lua b/3rdparty/bgfx/scripts/bgfx.lua
index 97ec723ddba..76d6b70258a 100644
--- a/3rdparty/bgfx/scripts/bgfx.lua
+++ b/3rdparty/bgfx/scripts/bgfx.lua
@@ -51,11 +51,23 @@ function bgfxProject(_name, _kind, _defines)
if _OPTIONS["with-ovr"] then
defines {
+-- "BGFX_CONFIG_MULTITHREADED=0",
"BGFX_CONFIG_USE_OVR=1",
}
includedirs {
"$(OVR_DIR)/LibOVR/Include",
}
+
+ configuration { "x32" }
+ libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/Win32/Release", _ACTION) }
+
+ configuration { "x64" }
+ libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/x64/Release", _ACTION) }
+
+ configuration { "x32 or x64" }
+ links { "libovr" }
+
+ configuration {}
end
configuration { "Debug" }