Fix building unit-tests

This commit is contained in:
Robin Gareus 2020-01-27 17:43:37 +01:00
parent f101a657f2
commit 5c789547cb
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 5 additions and 5 deletions

View file

@ -214,9 +214,9 @@ def build(bld):
testobj.source += [ 'test/windows_timer_utils_test.cc' ]
testobj.target = 'run-tests'
testobj.includes = obj.includes + ['test', '../pbd']
testobj.uselib = 'CPPUNIT XML SNDFILE'
testobj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL XML OSX CPPUNIT'
testobj.use = 'libpbd'
testobj.name = 'libpbd-tests'
testobj.defines = [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
if sys.platform != 'darwin' and bld.env['build_target'] != 'mingw':
testobj.linkflags = ['-lrt']
testobj.lib = ['rt']