Skip to content

Commit c022919

Browse files
committed
try solving mac ci
1 parent 5b05c52 commit c022919

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/d/dynareadout/port/xmake.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ target("dynareadout")
1414
remove_files("src/profiling.c")
1515
end
1616
add_headerfiles("src/*.h")
17-
if is_kind("shared") then
17+
if target:kind() == "shared" then
1818
add_rules("utils.symbols.export_all")
1919
end
2020
target_end()
@@ -30,10 +30,10 @@ if has_config("build_cpp", "build_python") then
3030
add_includedirs("src")
3131
add_files("src/cpp/*.cpp")
3232
add_headerfiles("src/cpp/*.hpp")
33-
if is_kind("shared") then
33+
if target:kind() =="shared" then
3434
add_rules("utils.symbols.export_all", {export_classes = true})
3535
end
36-
if is_plat("macosx") then
36+
if target:is_plat("macosx") then
3737
add_packages("boost")
3838
end
3939
target_end()

0 commit comments

Comments
 (0)