1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Forgot to define SCRAT_USE_EXCEPTIONS

Also normalized indentation.
This commit is contained in:
Sandu Liviu Catalin 2021-02-08 21:04:06 +02:00
parent bab6db85a9
commit 357796c723

View File

@ -108,13 +108,15 @@ add_library(SqModule MODULE SqBase.hpp Main.cpp
Logger.cpp Logger.hpp
Register.cpp
)
# Various definitions required by the plugin
target_compile_definitions(SqModule PRIVATE SCRAT_USE_EXCEPTIONS=1)
# Link to windows libraries if on windows
if(WIN32 OR MINGW)
target_compile_definitions(SqModule PRIVATE _WIN32_WINNT=0x0601)
target_link_libraries(SqModule wsock32 ws2_32 shlwapi)
endif()
# Link to base libraries
target_link_libraries(SqModule Squirrel FmtLib SimpleINI TinyDir ConcurrentQueue maxminddb libzmq-static)
target_link_libraries(SqModule Squirrel FmtLib SimpleINI TinyDir JSMN ConcurrentQueue maxminddb libzmq-static)
# Link to POCO libraries
target_link_libraries(SqModule Poco::Foundation Poco::Crypto Poco::Data Poco::Net Poco::JSON Poco::XML)
# Does POCO have SQLite support?