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

View file

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