mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 06:42:12 +08:00
Small fixes for macOS build (#24620)
* Small fixes for macOS build * remove gpu_libs old-commit-hash: 1cc652602f008122cf82171f7705522d3e2457dd
This commit is contained in:
+2
-7
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user