diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ac713b3..866b463a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,7 +306,8 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ) elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(OPENSSL_USE_STATIC_LIBS TRUE) - set (OPENSSL_LIBS ssl crypto) + find_package(OpenSSL REQUIRED) + set(OPENSSL_LIBS ${OPENSSL_LIBRARIES} pthread dl) else() message (FATAL_ERROR "Couldn't find OpenSSL") endif() diff --git a/src/cmd/synergyc/CMakeLists.txt b/src/cmd/synergyc/CMakeLists.txt index f6a9cc32..ec243d93 100644 --- a/src/cmd/synergyc/CMakeLists.txt +++ b/src/cmd/synergyc/CMakeLists.txt @@ -48,7 +48,7 @@ endif() add_executable(synergyc ${sources}) target_link_libraries(synergyc - arch base client common io mt net ipc platform server synlib ${libs} ${OPENSSL_LIBS}) + arch base client common io mt net ipc platform server synlib ${OPENSSL_LIBS}) if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") install (TARGETS synergyc DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR}) diff --git a/src/lib/platform/MSWindowsScreen.cpp b/src/lib/platform/MSWindowsScreen.cpp index 03c34e6c..2e291624 100644 --- a/src/lib/platform/MSWindowsScreen.cpp +++ b/src/lib/platform/MSWindowsScreen.cpp @@ -561,7 +561,7 @@ bool MSWindowsScreen::getThisCursorPos(LPPOINT pos) { result = GetCursorPos(pos); error = GetLastError(); - LOG((CLOG_INFO "%s Attempt: 2, status %d, code: %d Pos {%d, %d}", __func__, result, error, pos->x, pos->y)); + LOG((CLOG_DEBUG3 "%s Attempt: 2, status %d, code: %d Pos {%d, %d}", __func__, result, error, pos->x, pos->y)); updateDesktopThread(); } return result;