Skip to content

Commit

Permalink
openmp fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
samayala22 committed Feb 2, 2024
1 parent 9180944 commit b9ac426
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ for _,name in ipairs(backends) do
end
end

add_requires("openmp")

includes("vlm/xmake.lua") -- library and main driver

-- Create tests
for _, file in ipairs(os.files("tests/test_*.cpp")) do
local name = path.basename(file)
target(name)
set_kind("binary")
set_default(false)
add_packages("openmp") -- needed for gcc linker (for eigen)
add_deps("libvlm")
add_files("tests/" .. name .. ".cpp")
add_tests("default")
Expand Down

0 comments on commit b9ac426

Please sign in to comment.