CREATE_PROJECT: Add new libcurl dependencies
This commit is contained in:
parent
12198cee35
commit
7e6143a641
1 changed files with 12 additions and 4 deletions
|
@ -408,10 +408,18 @@ int main(int argc, char *argv[]) {
|
||||||
setup.libraries.push_back("sparkle");
|
setup.libraries.push_back("sparkle");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (curlEnabled && projectType == kProjectMSVC)
|
if (projectType == kProjectMSVC) {
|
||||||
|
if (curlEnabled) {
|
||||||
setup.defines.push_back("CURL_STATICLIB");
|
setup.defines.push_back("CURL_STATICLIB");
|
||||||
if (sdlnetEnabled && projectType == kProjectMSVC)
|
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.libraries.push_back("iphlpapi");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
setup.defines.push_back("SDL_BACKEND");
|
setup.defines.push_back("SDL_BACKEND");
|
||||||
if (!setup.useSDL2) {
|
if (!setup.useSDL2) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue