From ac08b3e53369c8a98cb6ab15ca36baf89a51b683 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 3 Oct 2022 18:32:20 +0300 Subject: [PATCH] Update CMakeLists.txt --- module/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/CMakeLists.txt b/module/CMakeLists.txt index 92fb3440..60c5bb8f 100644 --- a/module/CMakeLists.txt +++ b/module/CMakeLists.txt @@ -69,6 +69,7 @@ add_library(SqModule MODULE SqBase.hpp Main.cpp Library/Chrono/Timestamp.cpp Library/Chrono/Timestamp.hpp Library/CURL.cpp Library/CURL.hpp Library/Format.cpp Library/Format.hpp + Library/HttpLib.hpp Library/IO.cpp Library/IO.hpp Library/IO/Buffer.cpp Library/IO/Buffer.hpp Library/IO/File.cpp Library/IO/File.hpp @@ -80,6 +81,7 @@ add_library(SqModule MODULE SqBase.hpp Main.cpp Library/Numeric.cpp Library/Numeric.hpp Library/Numeric/Math.cpp Library/Numeric/Math.hpp Library/Numeric/Random.cpp Library/Numeric/Random.hpp + Library/PocketBase.cpp Library/PocketBase.hpp Library/RegEx.cpp Library/RegEx.hpp Library/String.cpp Library/String.hpp Library/System.cpp Library/System.hpp @@ -132,7 +134,7 @@ if(WIN32 OR MINGW) target_link_libraries(SqModule wsock32 ws2_32 shlwapi) endif() # Link to base libraries -target_link_libraries(SqModule RPMalloc Squirrel fmt::fmt SimpleINI TinyDir xxHash ConcurrentQueue SAJSON CPR UTF8Lib PUGIXML CivetWeb maxminddb libzmq-static) +target_link_libraries(SqModule RPMalloc Squirrel fmt::fmt SimpleINI TinyDir xxHash ConcurrentQueue SAJSON CPR UTF8Lib PUGIXML HttpLib CivetWeb maxminddb libzmq-static) # Link to POCO libraries target_link_libraries(SqModule Poco::Foundation Poco::Crypto Poco::Data Poco::Net) # Does POCO have SQLite support? @@ -227,7 +229,7 @@ if(WIN32 AND MINGW AND COPY_DEPENDENCIES) file(COPY "${MINGW_BIN_PATH}/libpq.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") file(COPY "${MINGW_BIN_PATH}/libzstd.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") file(COPY "${MINGW_BIN_PATH}/libpsl-5.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") - file(COPY "${MINGW_BIN_PATH}/libffi-7.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") + file(COPY "${MINGW_BIN_PATH}/libffi-8.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") file(COPY "${MINGW_BIN_PATH}/libcurl-4.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") file(COPY "${MINGW_BIN_PATH}/libssh2-1.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps") file(COPY "${MINGW_BIN_PATH}/libidn2-0.dll" DESTINATION "${PROJECT_SOURCE_DIR}/bin/deps")