Add more options to cmake
@@ -6,7 +6,11 @@ cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \
-DCMAKE_PREFIX_PATH:PATH=$PREFIX \
-DCMAKE_C_COMPILER=$CC \
- -DCMAKE_CXX_COMPILER=$CXX
+ -DCMAKE_CXX_COMPILER=$CXX \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_FLAGS_RELEASE=$CFLAGS \
+ -DDCMAKE_INCLUDE_PATH=$PREFIX/include \
+ -DCMAKE_LIBRARY_PATH=$PREFIX/lib
make -j$CPU_COUNT all
make -j$CPU_COUNT install
