Homebrew curl?
Kaned1as opened this issue · comments
Kanedias commented
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?
Sergey Shambir commented
Is there any example?
Kanedias commented
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()
Giuseppe Persico commented
Now curlcpp is also available via homebrew:
bash brew install curlcpp