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("assimp")
set_default(true)
set_showmenu(true)
set_description("Build Assimp plugin")
option_end()
option("assimp", { description = "Build Assimp plugin", default = true })
if has_config("assimp") then
add_requires("assimp v5.2.3")