Adding BOOST_TEST_MAIN for gcc build

This commit is contained in:
Michael Tryby
2019-03-22 09:14:26 -04:00
parent 82055f24a9
commit 66c274c343
2 changed files with 1 additions and 2 deletions

View File

@@ -2,8 +2,6 @@
# CMakeLists.txt - CMake configuration file for epanet/tests
#
# 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
# US EPA ORD/NRMRL

View File

@@ -11,6 +11,7 @@
******************************************************************************
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE toolkit
#include <boost/test/unit_test.hpp>