mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-14 14:17:13 +02:00
Forgot to define SCRAT_USE_EXCEPTIONS
Also normalized indentation.
This commit is contained in:
parent
bab6db85a9
commit
357796c723
@ -108,13 +108,15 @@ add_library(SqModule MODULE SqBase.hpp Main.cpp
|
|||||||
Logger.cpp Logger.hpp
|
Logger.cpp Logger.hpp
|
||||||
Register.cpp
|
Register.cpp
|
||||||
)
|
)
|
||||||
|
# Various definitions required by the plugin
|
||||||
|
target_compile_definitions(SqModule PRIVATE SCRAT_USE_EXCEPTIONS=1)
|
||||||
# Link to windows libraries if on windows
|
# Link to windows libraries if on windows
|
||||||
if(WIN32 OR MINGW)
|
if(WIN32 OR MINGW)
|
||||||
target_compile_definitions(SqModule PRIVATE _WIN32_WINNT=0x0601)
|
target_compile_definitions(SqModule PRIVATE _WIN32_WINNT=0x0601)
|
||||||
target_link_libraries(SqModule wsock32 ws2_32 shlwapi)
|
target_link_libraries(SqModule wsock32 ws2_32 shlwapi)
|
||||||
endif()
|
endif()
|
||||||
# Link to base libraries
|
# 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
|
# Link to POCO libraries
|
||||||
target_link_libraries(SqModule Poco::Foundation Poco::Crypto Poco::Data Poco::Net Poco::JSON Poco::XML)
|
target_link_libraries(SqModule Poco::Foundation Poco::Crypto Poco::Data Poco::Net Poco::JSON Poco::XML)
|
||||||
# Does POCO have SQLite support?
|
# Does POCO have SQLite support?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user