mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
OpenSSL link Clang workflow workaround
This commit is contained in:
1 parent
f5c875a19d
commit
173ca3d923
1 file changed
+6
-2
+6
-2
@@ -809,8 +809,12 @@ if (BUILD_TESTING)
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${cppunit_LIBRARIES}
|
||||
)
|
||||
if (NOT MSVC AND OPENDHT_PROXY_OPENSSL)
|
||||
target_link_libraries(opendht_unit_tests PRIVATE ${OPENSSL_LIBRARIES})
|
||||
if (OPENDHT_PROXY_OPENSSL)
|
||||
if (NOT MSVC AND MINGW) # MSYS2
|
||||
target_link_libraries(opendht_unit_tests PRIVATE ${OPENSSL_LIBRARIES})
|
||||
else() # Clang on UNIX-pkgconfig
|
||||
target_link_libraries(opendht_unit_tests PRIVATE PkgConfig::OPENSSL)
|
||||
endif()
|
||||
endif()
|
||||
add_test(TEST opendht_unit_tests)
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user