-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Especially) on Windows we need to define `CURL_STATICLIB` when linking to the static curl library or we get errors such as: > unresolved external symbol __imp__curl_free Check if the CURL target from the CMake config file (of CURL) was used and trust them to set that define. Otherwise apply a heuristic to detect whether static CURL was found and set the define (and libs for MSVC) in that case
- Loading branch information
Showing
1 changed file
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters