better fix(libcxx)

use CPATH to find C++ headers on linux (mac needs apple's).
This commit is contained in:
Jacob Heider 2024-06-04 18:34:14 -04:00 committed by Jacob Heider
parent 614c7b6ee2
commit 7897bbe992

View file

@ -6,6 +6,11 @@ versions:
github: llvm/llvm-project
strip: /^llvmorg-/
runtime:
env:
linux:
CPATH: $CPATH:{{prefix}}/include/c++/v1
build:
dependencies:
cmake.org: '>=3<3.29'
@ -58,4 +63,3 @@ test:
- -std=c++11
- -stdlib=libc++
- -lc++
- -isystem {{prefix}}/include/c++/v1