Tell the whole case to link dynamically against Boost
This commit is contained in:
parent
f16304b9d8
commit
30446b8327
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue