diff --git a/screenshot_bot/CMakeLists.txt b/screenshot_bot/CMakeLists.txt index 636604f2b..a4a852ab3 100644 --- a/screenshot_bot/CMakeLists.txt +++ b/screenshot_bot/CMakeLists.txt @@ -41,7 +41,9 @@ endif() target_link_libraries(${CURRENT_TARGET} -libs -${INDIGO_WIN32_LIBS} -${LINUX_LIBS} + PRIVATE + libs + ${INDIGO_WIN32_LIBS} + ${LINUX_LIBS} ) + diff --git a/screenshot_bot/ScreenshotBot.cpp b/screenshot_bot/ScreenshotBot.cpp index ef1c54176..f41a8f017 100644 --- a/screenshot_bot/ScreenshotBot.cpp +++ b/screenshot_bot/ScreenshotBot.cpp @@ -6,9 +6,9 @@ Copyright Glare Technologies Limited 2025 - #include "../shared/Protocol.h" -#include +#include #include -#include +#include #include #include #include @@ -25,11 +25,11 @@ Copyright Glare Technologies Limited 2025 - #include -struct ScreenshotBotConfig -{ - std::string server_hostname; - std::string screenshot_bot_password; - std::string substrata_client_path; +struct ScreenshotBotConfig +{ + std::string server_hostname; + std::string screenshot_bot_password; + std::string substrata_client_path; }; @@ -52,7 +52,7 @@ int main(int argc, char* argv[]) { Clock::init(); Networking::init(); - PlatformUtils::ignoreUnixSignals(); + PlatformUtils::ignoreUnixSignals(); TLSSocket::initTLS(); const ScreenshotBotConfig config = parseScreenshotBotConfig(PlatformUtils::getAppDataDirectory("Cyberspace") + "/screenshot_bot_config.xml"); @@ -357,3 +357,4 @@ int main(int argc, char* argv[]) return 1; } } +