mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
CREATE_PROJECT: Add new libcurl dependencies
This commit is contained in:
parent
12198cee35
commit
7e6143a641
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user