mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-01 21:13:13 +01:00
Problem: test utilities are in headers and recompiled for every test
Solution: move test utilities to separate testutil library
This commit is contained in:
@@ -35,7 +35,7 @@ foreach(test ${unittests})
|
||||
link_directories(${test} PRIVATE "${ZeroMQ_SOURCE_DIR}/../lib")
|
||||
endif()
|
||||
|
||||
target_link_libraries(${test} libzmq-static ${OPTIONAL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} unity)
|
||||
target_link_libraries(${test} testutil-static)
|
||||
|
||||
if(RT_LIBRARY)
|
||||
target_link_libraries(${test} ${RT_LIBRARY})
|
||||
|
||||
Reference in New Issue
Block a user