Skip to content
Snippets Groups Projects
Commit af786843 authored by Campbell Barton's avatar Campbell Barton
Browse files

patch from jensverwiebe to disable ndof if header is not found.

parent a6fed14d
Branches
Tags
No related merge requests found
...@@ -253,6 +253,15 @@ if 'blenderlite' in B.targets: ...@@ -253,6 +253,15 @@ if 'blenderlite' in B.targets:
if k not in B.arguments: if k not in B.arguments:
env[k] = v env[k] = v
# detect presence of 3D_CONNEXION_CLIENT_LIBRARY for OSX
if env['OURPLATFORM']=='darwin':
envi = Environment()
conf = Configure(envi)
if not conf.CheckCHeader('ConnexionClientAPI.h'): # CheckCXXHeader if it is c++ !
print "3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE" # avoid build errors !
env['WITH_BF_3DMOUSE'] = 0
envi = conf.Finish()
if env['WITH_BF_OPENMP'] == 1: if env['WITH_BF_OPENMP'] == 1:
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment