[*] make .type optional
This commit is contained in:
parent
9879d42c5d
commit
ce24026ab0
@ -26,6 +26,7 @@ local function normalizeSourceRoot(path)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function extendInfo(this)
|
local function extendInfo(this)
|
||||||
|
if (not this.projectType) then return end
|
||||||
local type = this.projectType:lower()
|
local type = this.projectType:lower()
|
||||||
this.isShared = type == "sharedlib"
|
this.isShared = type == "sharedlib"
|
||||||
this.isStatic = type == "staticlib"
|
this.isStatic = type == "staticlib"
|
||||||
|
Loading…
Reference in New Issue
Block a user