summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index dc6f1a552..064253d1b 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -203,9 +203,10 @@ newoption {
-- TODO(JS): What's the point in the enable-xlib command line option if it's just overridden here?
- if targetInfo.isWindows then
+ if targetInfo.isWindows or os.target() == "macosx" then
enableXlib = false
end
+
-- Even if we have the nvapi path, we only want to currently enable on windows targets
enableNvapi = not not (os.isdir(nvapiPath) and targetInfo.isWindows and _OPTIONS["enable-nvapi"] == "true")