<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">what you did actually might have worked, I think, ideally… too bad it didn’t.<div class=""><br class=""></div><div class="">Can you do this perhaps?</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">export CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1” </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">export LDFLAGS="</span>-L/opt/local/lib/libcxx"</div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">or maybe this: </span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">CXX=/path/to/clang-9.0 CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1”  </span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">LDFLAGS="</span><font face="Menlo" class=""><span style="font-size: 11px;" class="">-L/opt/local/lib/libcxx” cmake ../path/to/source</span></font></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class=""></div><div class="">or maybe:</div><div class=""><br class=""></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">CXX="/path/to/clang-9.0 -nostdinc++ -I/opt/local/include/libcxx/v1”  </span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">LDFLAGS="</span><font face="Menlo" class=""><span style="font-size: 11px;" class="">-L/opt/local/lib/libcxx” cmake ../path/to/source</span></font></div><div class=""><br class=""></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">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…</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Ken</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></body></html>