Premake: Fix SQLite inclusion.
This commit is contained in:
parent
bcb10258e1
commit
86c6450ac2
@ -11,8 +11,12 @@ end
|
|||||||
function sqlite3.import()
|
function sqlite3.import()
|
||||||
if not sqlite3.settings then error("Run sqlite3.setup first") end
|
if not sqlite3.settings then error("Run sqlite3.setup first") end
|
||||||
|
|
||||||
links { "sqlite3" }
|
|
||||||
sqlite3.includes()
|
sqlite3.includes()
|
||||||
|
sqlite3.links()
|
||||||
|
end
|
||||||
|
|
||||||
|
function sqlite3.links()
|
||||||
|
links { "sqlite3" }
|
||||||
end
|
end
|
||||||
|
|
||||||
function sqlite3.includes()
|
function sqlite3.includes()
|
||||||
@ -34,8 +38,8 @@ function sqlite3.project()
|
|||||||
|
|
||||||
files
|
files
|
||||||
{
|
{
|
||||||
path.join(sqlite3.settings.source, "*.c"),
|
path.join(sqlite3.settings.source, "sqlite3*.c"),
|
||||||
path.join(sqlite3.settings.source, "*.h"),
|
path.join(sqlite3.settings.source, "sqlite3*.h"),
|
||||||
}
|
}
|
||||||
|
|
||||||
-- not our code, ignore POSIX usage warnings for now
|
-- not our code, ignore POSIX usage warnings for now
|
||||||
|
@ -369,6 +369,7 @@ workspace "iw4x"
|
|||||||
mongoose.project()
|
mongoose.project()
|
||||||
pdcurses.project()
|
pdcurses.project()
|
||||||
protobuf.project()
|
protobuf.project()
|
||||||
|
sqlite3.project()
|
||||||
winksignals.project()
|
winksignals.project()
|
||||||
zlib.project()
|
zlib.project()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user