This commit is contained in:
Qing Wang
2020-10-22 09:56:39 +08:00
parent 15394b09bf
commit c29a798e5b
+2 -2
View File
@@ -21,9 +21,9 @@ add_executable(basic_server server/main.cpp)
add_executable(basic_client client/main.cpp)
if (ENABLE_SSL)
target_link_libraries(basic_client ${Boost_LIBRARIES} -lssl -lcrypto -lpthread)
target_link_libraries(basic_server ${Boost_LIBRARIES} -lssl -lcrypto -lpthread)
target_link_libraries(basic_client ${Boost_LIBRARIES} -lssl -lcrypto -lpthread)
else()
target_link_libraries(basic_client ${Boost_LIBRARIES})
target_link_libraries(basic_server ${Boost_LIBRARIES})
target_link_libraries(basic_client ${Boost_LIBRARIES})
endif()