From 4b3912f6ef467b878cd8db78a0edc14aaec8ddb2 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquemin Date: Mon, 28 Aug 2023 13:17:54 +0200 Subject: [PATCH] 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. --- src/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9022e66..821544f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 )