diff options
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/nim/link_library/xmake.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/nim/link_library/xmake.lua b/tests/projects/nim/link_library/xmake.lua index edc577e9e..f15417cb1 100644 --- a/tests/projects/nim/link_library/xmake.lua +++ b/tests/projects/nim/link_library/xmake.lua @@ -7,13 +7,13 @@ add_requires("stb", {system = false}) target("headers") set_kind("headeronly") add_files("headers/*.h") - add_includedirs("headers") + add_includedirs("headers", {public = true}) target("executablestatic") set_kind("binary") add_files("mainlib.nim") add_deps("staticlib") - add_packages("zlib", "stb") + add_packages("zlib", "stb", {public = true}) if is_plat("linux") then add_syslinks("pthread", "m") end @@ -29,7 +29,7 @@ target("executableshared") target("staticlib") set_kind("static") add_files("static.nim") - add_includedirs("inc") + add_includedirs("inc", {public = true}) add_headerfiles("inc/*.h") if is_plat("linux") then add_syslinks("pthread", "m") @@ -39,7 +39,7 @@ target("staticlib") target("sharedlib") set_kind("shared") add_files("shared.nim") - add_includedirs("inc") + add_includedirs("inc", {public = true}) add_headerfiles("inc/*.h") if is_plat("linux") then add_syslinks("pthread", "m") |
