Browse Source

Pass -DBOOST_TEST_DYN_LINK to all parts of test

pull/5/merge
Simon Richter 8 years ago
committed by Wayne Stambaugh
parent
commit
0dad728e86
  1. 3
      eeschema/qa/CMakeLists.txt
  2. 1
      eeschema/qa/test_module.cpp

3
eeschema/qa/CMakeLists.txt

@ -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

1
eeschema/qa/test_module.cpp

@ -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>
Loading…
Cancel
Save