Browse Source

wscript: fixed opus include path

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
68f633e9cd
  1. 6
      engine/wscript
  2. 2
      wscript

6
engine/wscript

@ -107,7 +107,7 @@ def configure(conf):
def build(bld): def build(bld):
is_cxx_link = False is_cxx_link = False
libs = [ 'public', 'dllemu' ] libs = [ 'public', 'dllemu', 'opus' ]
# basic build: dedicated only # basic build: dedicated only
source = bld.path.ant_glob([ source = bld.path.ant_glob([
@ -166,9 +166,7 @@ def build(bld):
'client/vgui/*.c', 'client/vgui/*.c',
'client/avi/*.c']) 'client/avi/*.c'])
libs.append('opus') includes = ['common', 'server', 'client', 'client/vgui', 'tests', '.', '../public', '../common', '../filesystem', '../pm_shared' ]
includes = ['common', 'server', 'client', 'client/vgui', 'tests', '.', '../public', '../common', '../filesystem', '../pm_shared', '../3rdparty/opus/opus/include' ]
if bld.env.SINGLE_BINARY: if bld.env.SINGLE_BINARY:
install_path = bld.env.BINDIR install_path = bld.env.BINDIR

2
wscript

@ -54,7 +54,7 @@ class Subproject:
return True return True
SUBDIRS = [ SUBDIRS = [
Subproject('3rdparty/opus', mandatory=True), Subproject('3rdparty/opus', dedicated=False, mandatory=True),
Subproject('public', dedicated=False, mandatory = True), Subproject('public', dedicated=False, mandatory = True),
Subproject('filesystem', dedicated=False, mandatory = True), Subproject('filesystem', dedicated=False, mandatory = True),
Subproject('game_launch', singlebin=True), Subproject('game_launch', singlebin=True),

Loading…
Cancel
Save