Set CMAKE_PREFIX_PATH manually
@@ -13,13 +13,11 @@ CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
mkdir build
cd build
-if [[ "${target_platform}" == osx-* ]]; then
- cmake -E environment
- CMAKE_PREFIX_PATH="${PREFIX}"
-fi
+ls -l "$PREFIX/include"
cmake ${CMAKE_ARGS} \
-DCMAKE_FIND_ROOT_PATH="${PREFIX}" \
+ -DCMAKE_PREFIX_PATH="${PREFIX}" \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DBUILD_SHARED_LIBS=ON \
