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