CMakeLists: change how libcurl is found.

This commit is contained in:
Guillaume Jacquemin 2023-11-29 13:00:31 +01:00
parent 90fd22225f
commit df9e6bcd17
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -26,8 +26,8 @@ if(CORRADE_TARGET_WINDOWS)
endif() endif()
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)
if(SAVETOOL_USE_SYSTEM_LIBS) if(SAVETOOL_USE_SYSTEM_LIBS)
find_package(CURL REQUIRED HTTPS)
find_package(libzip REQUIRED) find_package(libzip REQUIRED)
find_package(efsw REQUIRED) find_package(efsw REQUIRED)
endif() endif()