fix:允许命令行中开启boost选项(xmake)

This commit is contained in:
taynpg 2025-01-08 14:08:15 +08:00
parent 164834769c
commit c2fb5d6ed2

View File

@ -16,6 +16,7 @@ target("ofen")
add_files("src/*.cpp")
option("boost")
set_default(false)
set_showmenu(true)
boost_root_dir = os.getenv("BOOST_HEADER_DIR")
boost_lib_dir = os.getenv("BOOST_LIB_DIR")
boost_libs = os.getenv("BOOST_LIBS")