curlcpp
curlcpp copied to clipboard
Homebrew curl?
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