mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
Enable sourcevr build, make it build (but still not work) with modern openvr api
This commit is contained in:
@@ -79,6 +79,7 @@ projects={
|
||||
'utils/vtex',
|
||||
'unicode',
|
||||
'video',
|
||||
'sourcevr'
|
||||
],
|
||||
'tests': [
|
||||
'appframework',
|
||||
@@ -358,10 +359,10 @@ def check_deps(conf):
|
||||
else:
|
||||
conf.check_pkg('freetype2', 'FT2', FT2_CHECK)
|
||||
conf.check_pkg('fontconfig', 'FC', FC_CHECK)
|
||||
if conf.env.DEST_OS == "darwin":
|
||||
conf.env.FRAMEWORK_OPENAL = "OpenAL"
|
||||
else:
|
||||
conf.check_cfg(package='openal', uselib_store='OPENAL', args=['--cflags', '--libs'])
|
||||
# if conf.env.DEST_OS == "darwin":
|
||||
# conf.env.FRAMEWORK_OPENAL = "OpenAL"
|
||||
# else:
|
||||
# conf.check_cfg(package='openal', uselib_store='OPENAL', args=['--cflags', '--libs'])
|
||||
conf.check_cfg(package='libjpeg', uselib_store='JPEG', args=['--cflags', '--libs'])
|
||||
conf.check_cfg(package='libpng', uselib_store='PNG', args=['--cflags', '--libs'])
|
||||
conf.check_cfg(package='libcurl', uselib_store='CURL', args=['--cflags', '--libs'])
|
||||
|
||||
Reference in New Issue
Block a user