File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ list(REMOVE_ITEM libstubgen_source "${CMAKE_CURRENT_SOURCE_DIR}/main.cpp")
55find_package (Argtable REQUIRED)
66
77IF (COMPILE_TESTS)
8- message ("Foo: ${libstubgen_source} " )
9-
108 add_library (stubgen STATIC ${libstubgen_source} )
119 target_link_libraries (stubgen jsonrpccommon ${ARGTABLE_LIBRARIES} )
1210ENDIF ()
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ file(COPY ${test_specs} DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
1313set (testlibs ${Boost_LIBRARIES} jsonrpccommon jsonrpcclient jsonrpcserver)
1414INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR} /src)
1515
16- add_definitions (-DBOOST_TEST_DYN_LINK)
16+ # add_definitions(-DBOOST_TEST_DYN_LINK)
1717
1818IF (HTTP_CLIENT AND HTTP_SERVER)
1919 add_definitions (-DHTTP_TESTING)
Original file line number Diff line number Diff line change 77 * @license See attached LICENSE.txt
88 ************************************************************************/
99
10-
1110#define BOOST_TEST_MODULE " libjson-rpc-cpp test suite"
11+ #define BOOST_TEST_DYN_LINK
12+ #define BOOST_TEST_MAIN
1213#include < boost/test/unit_test.hpp>
You can’t perform that action at this time.
0 commit comments