src/CMakeLists: change how deps are linked to.

This might break submodule builds on MSYS2. Not like I care anyway, as they
were already broken on my Arch rig.
This commit is contained in:
Guillaume Jacquemin 2023-08-28 13:17:54 +02:00
parent 4e98a89b9d
commit 4b3912f6ef
Signed by: williamjcm
SSH Key Fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A
1 changed files with 6 additions and 3 deletions

View File

@ -23,6 +23,9 @@ set(SAVETOOL_PROJECT_VERSION 1.5.0-pre)
find_package(Corrade REQUIRED Main Containers Utility)
find_package(Magnum REQUIRED GL Sdl2Application)
find_package(MagnumIntegration REQUIRED ImGui)
find_package(CURL REQUIRED HTTPS)
find_package(libzip REQUIRED)
find_package(efsw REQUIRED)
set_directory_properties(PROPERTIES CORRADE_USE_PEDANTIC_FLAGS ON)
@ -124,9 +127,9 @@ target_link_libraries(MassBuilderSaveTool PRIVATE
MagnumIntegration::ImGui
Logger
UESaveFile
efsw
zip
libcurl
efsw::efsw
libzip::zip
CURL::libcurl_static
imm32
wtsapi32
)