From df9e6bcd17fe2ed716ea7cbf65f3876fe7438ace Mon Sep 17 00:00:00 2001 From: Guillaume Jacquemin Date: Wed, 29 Nov 2023 13:00:31 +0100 Subject: [PATCH] CMakeLists: change how libcurl is found. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f72df89..ed96a2f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,8 +26,8 @@ if(CORRADE_TARGET_WINDOWS) endif() find_package(Magnum REQUIRED GL Sdl2Application) find_package(MagnumIntegration REQUIRED ImGui) -find_package(CURL REQUIRED HTTPS) if(SAVETOOL_USE_SYSTEM_LIBS) + find_package(CURL REQUIRED HTTPS) find_package(libzip REQUIRED) find_package(efsw REQUIRED) endif()