This repository was archived by the owner on Aug 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -291,9 +291,11 @@ if(BUILD_TESTING)
291
291
add_test (NAME UnitTest COMMAND UnitTest)
292
292
293
293
add_executable (DynamicallyLoadTracerTest src/jaegertracing/DynamicallyLoadTracerTest.cpp)
294
+ target_include_directories (DynamicallyLoadTracerTest PUBLIC
295
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} /src>)
294
296
target_link_libraries (
295
297
DynamicallyLoadTracerTest OpenTracing::opentracing-static )
296
- add_test (NAME DynamicallyLoadTracerTest COMMAND DynamicallyLoadTracerTest
298
+ add_test (NAME DynamicallyLoadTracerTest COMMAND DynamicallyLoadTracerTest
297
299
${CMAKE_CURRENT_BINARY_DIR} /${CMAKE_SHARED_LIBRARY_PREFIX} jaegertracing${CMAKE_SHARED_LIBRARY_SUFFIX} )
298
300
if (JAEGERTRACING_COVERAGE)
299
301
setup_target_for_coverage(NAME UnitTestCoverage
Original file line number Diff line number Diff line change 18
18
19
19
#include < opentracing/dynamic_load.h>
20
20
21
+ #include " jaegertracing/Constants.h"
22
+
21
23
// Verify that Jaeger's shared library can be dynamically loaded and used
22
24
// as a plugin.
23
25
int main (int argc, char * argv[])
You can’t perform that action at this time.
0 commit comments