Fix linking error when using cpprestsdk from apt (#26)
This commit is contained in:
Родитель
ca563692b9
Коммит
c5c7e7f2eb
|
@ -41,7 +41,7 @@ else()
|
|||
)
|
||||
elseif(NOT WIN32)
|
||||
target_link_libraries(signalrclient
|
||||
PUBLIC ${CPPREST_LIB}
|
||||
PUBLIC ${CPPREST_LIB} Boost::system
|
||||
PRIVATE OpenSSL::SSL
|
||||
)
|
||||
else()
|
||||
|
|
|
@ -24,5 +24,5 @@ include_directories(
|
|||
|
||||
add_executable (signalrclienttests ${SOURCES})
|
||||
|
||||
target_link_libraries(signalrclienttests gtest signalrclient ${CPPREST_LIB})
|
||||
target_link_libraries(signalrclienttests gtest signalrclient)
|
||||
add_test(NAME signalrclienttests COMMAND signalrclienttests)
|
||||
|
|
Загрузка…
Ссылка в новой задаче