diff --git a/premake/bitmrc.lua b/premake/bitmrc.lua index 758c8457..3608710a 100644 --- a/premake/bitmrc.lua +++ b/premake/bitmrc.lua @@ -13,10 +13,14 @@ function bitmrc.import() sqlite3.import() libcryptopp.import() - + bitmrc.links() bitmrc.includes() end +function bitmrc.links() + links { "bitmrc" } +end + function bitmrc.includes() if not bitmrc.settings then error("Run bitmrc.setup first") end diff --git a/premake/libcryptopp.lua b/premake/libcryptopp.lua index a003ca24..d0a05021 100644 --- a/premake/libcryptopp.lua +++ b/premake/libcryptopp.lua @@ -11,9 +11,14 @@ end function libcryptopp.import() if not libcryptopp.settings then error("Run libcryptopp.setup first") end + libcryptopp.links() libcryptopp.includes() end +function libcryptopp.links() + links { "libcryptopp" } +end + function libcryptopp.includes() if not libcryptopp.settings then error("Run libcryptopp.setup first") end