JosephP91 / curlcpp

An object oriented C++ wrapper for CURL (libcurl)

Home Page:https://josephp91.github.io/curlcpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Homebrew curl?

Kaned1as opened this issue · comments

Homebrew curl installs libs in /usr/local/opt/curl/libs by default, not to mess with system-wide libcurl.

Can we add CMake suffix for it as we did with MacPorts?

Is there any example?

I don't remember what dirs Homebrew uses, but for MacPorts relevant lines are these:

# Add MacPorts                                                               
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")                                    
  set(CMAKE_PREFIX_PATH /opt/local ${CMAKE_PREFIX_PATH})                     
endif()       

Now curlcpp is also available via homebrew:

bash brew install curlcpp