Using macports-libcxx to build a non-MacPorts cmake project
Ken Cunningham
ken.cunningham.webuse at gmail.com
Mon May 3 21:46:12 UTC 2021
what you did actually might have worked, I think, ideally… too bad it didn’t.
Can you do this perhaps?
export CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1”
export LDFLAGS="-L/opt/local/lib/libcxx"
or maybe this:
CXX=/path/to/clang-9.0 CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1” LDFLAGS="-L/opt/local/lib/libcxx” cmake ../path/to/source
or maybe:
CXX="/path/to/clang-9.0 -nostdinc++ -I/opt/local/include/libcxx/v1” LDFLAGS="-L/opt/local/lib/libcxx” cmake ../path/to/source
I really need to finish that simple shell script that is supposed to set up the environment like MacPorts does for you, but I will probably never get around to that…
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210503/1908df15/attachment.htm>
More information about the macports-users
mailing list