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()