curlcpp icon indicating copy to clipboard operation
curlcpp copied to clipboard

Homebrew curl?

Open Kaned1as opened this issue 7 years ago • 2 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?

Kaned1as avatar Mar 30 '17 07:03 Kaned1as

Is there any example?

sergey-shambir avatar Jun 03 '17 04:06 sergey-shambir

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()       

Kaned1as avatar Jun 03 '17 15:06 Kaned1as

Now curlcpp is also available via homebrew:

bash brew install curlcpp

JosephP91 avatar Oct 05 '22 07:10 JosephP91