mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 17:25:32 +00:00
Committed Shadow_Master's fix for failure of boost::test check with boost 1.33
This commit is contained in:
parent
e7ee892bc0
commit
1e0cdc6cd4
@ -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…
x
Reference in New Issue
Block a user