Small fixes for macOS build (#24620)

* Small fixes for macOS build

* remove gpu_libs
old-commit-hash: 1cc652602f
This commit is contained in:
Willem Melching
2022-05-23 13:46:48 +02:00
committed by GitHub
parent d625ee361a
commit f7e2813438
4 changed files with 6 additions and 9 deletions

View File

@@ -22,13 +22,8 @@ files = [
'visionimg.cc',
]
if arch == "larch64":
_gpu_libs = ["GLESv2"]
else:
_gpu_libs = ["GL"]
_gpucommon = fxn('gpucommon', files, LIBS=_gpu_libs)
Export('_common', '_gpucommon', '_gpu_libs')
_gpucommon = fxn('gpucommon', files)
Export('_common', '_gpucommon')
if GetOption('test'):
env.Program('tests/test_util', ['tests/test_util.cc'], LIBS=[_common])