diff options
author | 2018-03-18 15:30:55 +0100 | |
---|---|---|
committer | 2018-03-27 10:19:22 +1100 | |
commit | 9a154947d1cb61180eb00bffa919e7921c2d5234 (patch) | |
tree | e434fe833f804465a46f5824873666f791eea841 /scripts/genie.lua | |
parent | 4419ff325aa248de92512a25cd9ef36e5bf22183 (diff) |
Added possibility of building using system pugixml
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index ad7018ed5c8..9338567cb54 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -671,6 +671,16 @@ if not _OPTIONS["with-system-flac"]~=nil then } end +if not _OPTIONS["with-system-pugixml"] then + defines { + "PUGIXML_HEADER_ONLY", + } +else + links { + ext_lib("pugixml"), + } +end + if _OPTIONS["NOASM"]=="1" then defines { "MAME_NOASM" |