Skip to content

Commit eda8046

Browse files
committed
Update CMakeLists.txt
1 parent 7425e0c commit eda8046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ else()
439439
find_package(OpenSSL REQUIRED)
440440
target_compile_definitions(datachannel PRIVATE USE_GNUTLS=0)
441441
target_compile_definitions(datachannel-static PRIVATE USE_GNUTLS=0)
442-
target_link_libraries(datachannel PRIVATE ${OPENSSL_SSL_LIBRARY})
443-
target_link_libraries(datachannel-static PRIVATE ${OPENSSL_SSL_LIBRARY})
442+
target_link_libraries(datachannel PRIVATE OpenSSL::SSL)
443+
target_link_libraries(datachannel-static PRIVATE OpenSSL::SSL)
444444
endif()
445445

446446
if (USE_NICE)

0 commit comments

Comments
 (0)