From 164834769c86477143993da3eab36186716f5e3b Mon Sep 17 00:00:00 2001 From: taynpg <taynpg@163.com> Date: Wed, 8 Jan 2025 13:53:53 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=BE=AE=E4=BF=AE=E6=AD=A3xmake?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xmake.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/xmake.lua b/xmake.lua index e114668..dc22e98 100644 --- a/xmake.lua +++ b/xmake.lua @@ -14,15 +14,12 @@ target("ofen") add_options("boost") set_kind("static") add_files("src/*.cpp") - option("boost") + set_default(false) boost_root_dir = os.getenv("BOOST_HEADER_DIR") boost_lib_dir = os.getenv("BOOST_LIB_DIR") boost_libs = os.getenv("BOOST_LIBS") add_includedirs(boost_root_dir) - print(boost_root_dir) add_defines("USE_BOOST_FILESYSTEM") add_linkdirs(boost_lib_dir) - print(boost_lib_dir) - add_links(boost_libs) - print(boost_libs) \ No newline at end of file + add_links(boost_libs) \ No newline at end of file