Skip to content

Commit

Permalink
Add openmp linking
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold856 committed Feb 21, 2025
1 parent d84cb74 commit 919ee3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wpical/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ model {
it.linker.args << '-framework' << 'Metal' << '-framework' << 'MetalKit' << '-framework' << 'Cocoa' << '-framework' << 'IOKit' << '-framework' << 'CoreFoundation' << '-framework' << 'CoreVideo' << '-framework' << 'QuartzCore' << '-framework' << 'Accelerate'
} else {
it.linker.args << '-lX11'
it.linker.args << '-fopenmp'
if (it.targetPlatform.name.startsWith('linuxarm')) {
it.linker.args << '-lGL'
}
Expand Down

0 comments on commit 919ee3e

Please sign in to comment.