mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-01 14:37:25 +00:00
chore: include better diagnostics in json error messages
This commit is contained in:
3
thirdparty/json.lua
vendored
3
thirdparty/json.lua
vendored
@@ -2,6 +2,9 @@ json = {}
|
|||||||
|
|
||||||
function json:include(includes)
|
function json:include(includes)
|
||||||
if includes:handle(self:name()) then
|
if includes:handle(self:name()) then
|
||||||
|
defines {
|
||||||
|
"JSON_DIAGNOSTICS=1"
|
||||||
|
}
|
||||||
includedirs {
|
includedirs {
|
||||||
path.join(ThirdPartyFolder(), "json", "single_include")
|
path.join(ThirdPartyFolder(), "json", "single_include")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user