mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Do not require OpenMP for non-tools builds (export templates)
This commit is contained in:
@@ -82,7 +82,7 @@ def configure(env):
|
||||
env['RANLIB'] = mpprefix + "/libexec/llvm-" + mpclangver + "/bin/llvm-ranlib"
|
||||
env['AS'] = mpprefix + "/libexec/llvm-" + mpclangver + "/bin/llvm-as"
|
||||
env.Append(CCFLAGS=['-D__MACPORTS__']) #hack to fix libvpx MM256_BROADCASTSI128_SI256 define
|
||||
if (env["openmp"]):
|
||||
if env['tools'] and env['openmp']:
|
||||
env.Append(CPPFLAGS=['-fopenmp'])
|
||||
env.Append(LINKFLAGS=['-fopenmp'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user