diff --git a/qa/geometry/CMakeLists.txt b/qa/geometry/CMakeLists.txt index 9615e183bc..c542d378c5 100644 --- a/qa/geometry/CMakeLists.txt +++ b/qa/geometry/CMakeLists.txt @@ -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 diff --git a/qa/geometry/test_module.cpp b/qa/geometry/test_module.cpp index 79fe6a9038..4f99b55ab8 100644 --- a/qa/geometry/test_module.cpp +++ b/qa/geometry/test_module.cpp @@ -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