[*] make .type optional

This commit is contained in:
Reece Wilson 2023-07-02 14:26:33 +01:00
parent 9879d42c5d
commit ce24026ab0

View File

@ -26,6 +26,7 @@ local function normalizeSourceRoot(path)
end
local function extendInfo(this)
if (not this.projectType) then return end
local type = this.projectType:lower()
this.isShared = type == "sharedlib"
this.isStatic = type == "staticlib"