Commit eab61cb3 authored by PanZezhong's avatar PanZezhong
Browse files

issue/68/fix 修复omp库链接问题

parent 615e2e25
......@@ -22,6 +22,11 @@ target("infiniop-test")
add_includedirs(INFINI_ROOT.."/include")
add_linkdirs(INFINI_ROOT.."/lib")
add_links("infiniop", "infinirt")
if has_config("omp") then
add_cxflags("-fopenmp")
add_ldflags("-fopenmp")
end
add_includedirs(os.projectdir().."/src/infiniop-test/include")
add_files(os.projectdir().."/src/infiniop-test/src/*.cpp")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment