Tell the whole case to link dynamically against Boost

This commit is contained in:
Simon Richter 2017-04-06 03:00:53 +02:00 committed by Wayne Stambaugh
parent f16304b9d8
commit 30446b8327
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@
find_package(Boost COMPONENTS system filesystem unit_test_framework REQUIRED)
find_package( wxWidgets 3.0.0 COMPONENTS gl aui adv html core net base xml stc REQUIRED )
add_definitions(-DBOOST_TEST_DYN_LINK)
add_executable(qa_geometry
test_module.cpp
test_chamfer_fillet.cpp

View File

@ -26,7 +26,7 @@
* Main file for the geometry tests to be compiled
*/
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE "CPolyLine -> SHAPE_POLY_SET refactor module"
#include <boost/test/unit_test.hpp>