We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18af616 commit b122fc1Copy full SHA for b122fc1
unittests/CMakeLists.txt
@@ -18,7 +18,7 @@ function(add_cppinterop_unittest name)
18
target_include_directories(${name} PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${GTEST_INCLUDE_DIR})
19
set_property(TARGET ${name} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
20
21
- target_link_libraries(${name} PUBLIC ${ARG_LIBRARIES} gtest gtest_main)
+ target_link_libraries(${name} PUBLIC ${ARG_LIBRARIES} gtest gtest_main pthread)
22
23
add_test(NAME cppinterop-${name} COMMAND ${name})
24
set_tests_properties(cppinterop-${name} PROPERTIES
0 commit comments