diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-03 20:11:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-04 01:05:16 +0200 |
| commit | 604a4e41b60f575fa3a0573aba5170c4d0f331eb (patch) | |
| tree | 82f67e33a6b05373aed64547fd1394eeb2a2fd3e /test | |
| parent | 13c738a189e574b80c2b8eca9baa485264664dde (diff) | |
Allow libcxml and libdcp builds with static boost.v1.9.16
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.cc | 3 | ||||
| -rw-r--r-- | test/wscript | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc index 2cde0776..65649efd 100644 --- a/test/test.cc +++ b/test/test.cc @@ -31,8 +31,9 @@ files in the program, then also delete it here. */ -#define BOOST_TEST_DYN_LINK + #define BOOST_TEST_MODULE libdcp_test + #include "compose.hpp" #include "cpl.h" #include "dcp.h" diff --git a/test/wscript b/test/wscript index 64b3ed59..13493f1e 100644 --- a/test/wscript +++ b/test/wscript @@ -42,7 +42,7 @@ def configure(conf): conf.check_cxx(fragment=""" #define BOOST_TEST_MODULE Config test\n #include <boost/test/unit_test.hpp>\n - int main() {} + BOOST_AUTO_TEST_CASE(foo) {} """, msg='Checking for boost unit testing library', lib='boost_unit_test_framework%s' % boost_lib_suffix, |
