Disable PremakeProject for non-Windows OSes

This commit is contained in:
Lynix
2017-08-20 21:37:45 +02:00
parent f363420ebe
commit 885804e58a
2 changed files with 2 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ function NazaraBuild:Execute()
language("C++")
location(_ACTION)
if (self.Config["PremakeProject"]) then
if (self.Config["PremakeProject"] && os.is("windows")) then
local commandLine = "premake5.exe " .. table.concat(_ARGV, ' ')
project("_PremakeProject")
kind("Utility")