Adding BOOST_TEST_MAIN for gcc build
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
# CMakeLists.txt - CMake configuration file for epanet/tests
|
# CMakeLists.txt - CMake configuration file for epanet/tests
|
||||||
#
|
#
|
||||||
# Created: February 13, 2018
|
# Created: February 13, 2018
|
||||||
# Author: Constantin Savtchenko
|
|
||||||
# Ref: http://neyasystems.com/an-engineers-guide-to-unit-testing-cmake-and-boost-unit-tests/
|
|
||||||
#
|
#
|
||||||
# Modified by: Michael E. Tryby
|
# Modified by: Michael E. Tryby
|
||||||
# US EPA ORD/NRMRL
|
# US EPA ORD/NRMRL
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define BOOST_TEST_MAIN
|
||||||
#define BOOST_TEST_MODULE toolkit
|
#define BOOST_TEST_MODULE toolkit
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|||||||
Reference in New Issue
Block a user