Committed Shadow_Master's fix for failure of boost::test check with boost 1.33
This commit is contained in:
parent
e7ee892bc0
commit
1e0cdc6cd4
1 changed files with 8 additions and 0 deletions
|
@ -83,6 +83,14 @@ def CheckBoost(context, boost_lib, require_version = None, header_only = False):
|
|||
test_program += \
|
||||
"#if BOOST_VERSION < %d\n#error Boost version is too old!\n#endif\n" \
|
||||
% (major * 100000 + minor * 100 + sub_minor)
|
||||
|
||||
if boost_lib == "unit_test_framework":
|
||||
test_program += """
|
||||
boost::unit_test::test_suite* init_unit_test_suite ( int, char**)
|
||||
{
|
||||
}
|
||||
\n"""
|
||||
|
||||
test_program += """
|
||||
int main()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue