jiridanek commented on a change in pull request #1267:
URL: https://github.com/apache/qpid-dispatch/pull/1267#discussion_r654937669
##########
File path: tests/c_unittests/CMakeLists.txt
##########
@@ -22,8 +22,8 @@ file(GLOB unittest_SOURCES
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_STANDARD_FLAGS}
${SANITIZE_FLAGS}")
-add_executable(c_unittests ${unittest_SOURCES})
-target_link_libraries(c_unittests pthread qpid-dispatch)
+add_executable(c_unittests ${unittest_SOURCES}
$<TARGET_OBJECTS:qpid-dispatch>)
Review comment:
```suggestion
add_executable(c_unittests ${unittest_SOURCES}
$<TARGET_OBJECTS:qpid-dispatch>)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]