Re: libcurl build from source with openssl

2021-02-25 Thread Nir Azkiel via curl-library
On Thu, Feb 25, 2021, 16:24 Nir Azkiel wrote: > Sorry for the top post, > > I hope this way is OK now (without the earlier posts). > > > > You helped a lot !! > > I didn't knew that gcc was sensitive about lib order. > > So now it works on Linux and macOs fail. > > > > I activated this flag CMAKE

Re: libcurl build from source with openssl

2021-02-25 Thread Nir Azkiel via curl-library
Sorry for the top post, I hope this way is OK now (without the earlier posts). You helped a lot !! I didn't knew that gcc was sensitive about lib order. So now it works on Linux and macOs fail. I activated this flag CMAKE_USE_SECTRANSP=ON but I get linkage errors ., should I link a spec

Re: libcurl build from source with openssl

2021-02-24 Thread Nir Azkiel via curl-library
e curl dependency The green line add the curl project with it's depedency to my application. It works on Win /Linux /OSX without SSL, with the SSL addition it works on Win but Linux and OSX complains about linkage errors . Thanks On Wed, Feb 24, 2021 at 11:13 PM Ray Satiro via curl-library <

libcurl build from source with openssl

2021-02-24 Thread Nir Azkiel via curl-library
Hi, I got libcurl downloaded and build, I would like to add HTTPS support but I keep getting linkage errors. I added this flag to libcurl Externalproject_Add -DCMAKE_USE_OPENSSL=ON also I added link to ssl like this set(OPENSSL_USE_STATIC_LIBS TRUE) find_package(OpenSSL REQUIRED) target_link_li