XMake: simplifies option syntax

This commit is contained in:
SirLynix
2022-10-10 08:49:52 +02:00
parent 364d1bafb4
commit 0a8048809c
6 changed files with 11 additions and 65 deletions

View File

@@ -1,9 +1,4 @@
option("ffmpeg")
set_default(false)
set_showmenu(true)
set_description("Build FFmpeg plugin")
option_end()
option("ffmpeg", { description = "Build FFmpeg plugin", default = false })
if has_config("ffmpeg") then
add_requires("ffmpeg", { configs = { shared = true } })