Skip to content

Commit b9d37f3

Browse files
committed
fix(dynareadout): add boost dependency for macOS support in C++ target
1 parent a757e45 commit b9d37f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/d/dynareadout/port/xmake.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ target("dynareadout")
3737
target_end()
3838

3939
if get_config("build_cpp") or get_config("build_python") then
40+
if is_plat("macosx") then
41+
add_requires("boost", {configs = {filesystem = true}})
42+
end
4043
target("dynareadout_cpp")
4144
set_kind("$(kind)")
4245
set_languages("cxx17")
@@ -50,6 +53,9 @@ if get_config("build_cpp") or get_config("build_python") then
5053
if is_kind("shared") then
5154
add_rules("utils.symbols.export_all", {export_classes = true})
5255
end
56+
if is_plat("macosx") then
57+
add_packages("boost")
58+
end
5359
target_end()
5460
end
5561

0 commit comments

Comments
 (0)