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