diff options
author | SupSuper | 2019-07-01 02:50:34 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-07-02 01:02:27 +0300 |
commit | 7e6143a641f9749b0c5167526ca1827ebc2adebd (patch) | |
tree | 59513c1f07bcf877ba28379174392171aac1d778 /devtools/create_project | |
parent | 12198cee35de708dd656680e92122a5975d5ee28 (diff) | |
download | scummvm-rg350-7e6143a641f9749b0c5167526ca1827ebc2adebd.tar.gz scummvm-rg350-7e6143a641f9749b0c5167526ca1827ebc2adebd.tar.bz2 scummvm-rg350-7e6143a641f9749b0c5167526ca1827ebc2adebd.zip |
CREATE_PROJECT: Add new libcurl dependencies
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/create_project.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 82ba9b5252..e85769c203 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -408,10 +408,18 @@ int main(int argc, char *argv[]) { setup.libraries.push_back("sparkle"); } - if (curlEnabled && projectType == kProjectMSVC) - setup.defines.push_back("CURL_STATICLIB"); - if (sdlnetEnabled && projectType == kProjectMSVC) - setup.libraries.push_back("iphlpapi"); + if (projectType == kProjectMSVC) { + if (curlEnabled) { + setup.defines.push_back("CURL_STATICLIB"); + setup.libraries.push_back("ws2_32"); + setup.libraries.push_back("wldap32"); + setup.libraries.push_back("crypt32"); + setup.libraries.push_back("normaliz"); + } + if (sdlnetEnabled) { + setup.libraries.push_back("iphlpapi"); + } + } setup.defines.push_back("SDL_BACKEND"); if (!setup.useSDL2) { |