fix eigen vendored?
@@ -4,7 +4,13 @@ rm -rf build || true
mkdir -p build/
cd build
-cmake ${SRC_DIR} ${CMAKE_ARGS}
+# create this directory so CMake doesn't use the bundled eigen
+mkdir -p ${SRC_DIR}/third-party/eigen3
+
+cmake ${SRC_DIR} \
+ ${CMAKE_ARGS} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=${PREFIX}/lib
make
make install
