|
|
@ -31,6 +31,7 @@ package("fmt") |
|
|
|
|
|
|
|
|
|
|
|
local configs = {} |
|
|
|
local configs = {} |
|
|
|
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) |
|
|
|
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) |
|
|
|
|
|
|
|
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) |
|
|
|
table.insert(configs, "-DFMT_TEST=OFF") |
|
|
|
table.insert(configs, "-DFMT_TEST=OFF") |
|
|
|
table.insert(configs, "-DFMT_DOC=OFF") |
|
|
|
table.insert(configs, "-DFMT_DOC=OFF") |
|
|
|
table.insert(configs, "-DFMT_FUZZ=OFF") |
|
|
|
table.insert(configs, "-DFMT_FUZZ=OFF") |
|
|
|