Pass -DBOOST_TEST_DYN_LINK to all parts of test

This commit is contained in:
Simon Richter 2017-12-06 03:42:39 +01:00 committed by Wayne Stambaugh
parent d075387c24
commit 0dad728e86
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,9 @@ add_executable( qa_eagle_plugin
test_basic.cpp
)
target_compile_definitions( qa_eagle_plugin
PRIVATE -DBOOST_TEST_DYN_LINK )
add_dependencies( qa_eagle_plugin common eeschema_kiface )
target_link_libraries( qa_eagle_plugin

View File

@ -26,7 +26,6 @@
* Main file for the schematic eagle plugin tests to be compiled
*/
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE "Schematic Eagle plugin"
#include <boost/test/unit_test.hpp>