Add option CMAKE_PREFIX_PATH to cmake
#! /bin/bash
mkdir _build && cd _build
-cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
+
+cmake .. \
+ -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \
+ -DCMAKE_PREFIX_PATH:PATH=$PREFIX
+
make -j$CPU_COUNT all
make -j$CPU_COUNT install
