By the way, I'm using 7.52.1

On Wed, Jun 14, 2017 at 10:42 PM, Karlsson <[email protected]> wrote:

> Thanks Sergei, below is the output:
>
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     CMAKE_C_CFLAGS
>     WITH_STATIC_RT
>
> It's still MD and MDd
>
> On Wed, Jun 14, 2017 at 10:18 PM, Sergei Nikulov <[email protected]
> > wrote:
>
>> 2017-06-14 16:35 GMT+03:00 Karlsson via curl-library
>> <[email protected]>:
>> > I also tried -DWITH_STATIC_RT=ON, but still not effect.
>> >
>> > On Wed, Jun 14, 2017 at 9:28 PM, Karlsson <[email protected]>
>> wrote:
>> >>
>> >> Hi all,
>> >>
>> >> I've tried use below command to generate the Visual Studio SLN file:
>> >>
>> >> cmake ..
>> >>                 -G "Visual Studio 14 2015 Win64"
>> >>                 -DBUILD_SHARED_LIBS=OFF
>> >>                 -DCURL_STATICLIB=ON
>> >>                 -DOPENSSL_MSVC_STATIC_RT=ON
>> >>                 -DBUILD_SHARED_LIBS=OFF
>> >>
>>
>> Hello,
>>
>> Could you please try to add option -DCMAKE_C_CFLAGS=/MT when
>> generating the solution?
>>
>> --
>> Best Regards,
>> Sergei Nikulov
>>
>
>
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to