diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 807d2a16..a044fab8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -196,6 +196,9 @@ if(BUILD_GUI) find_package(Qt5PrintSupport REQUIRED) target_link_libraries(Zano wallet rpc currency_core crypto common zlibstatic ethash Qt5::WebEngineWidgets Qt5::PrintSupport ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES}) + if (UNIX AND NOT APPLE) + target_link_libraries(Zano rt) + endif() if(APPLE) target_link_libraries(Zano ${COCOA_LIBRARY})