Try to build on osx with cmake
@@ -6,14 +6,15 @@ if [[ `uname` == Darwin ]]; then
fi
# Using autoconf
-./autogen.sh
-./configure --prefix="$PREFIX"
-make check
-make install
+# ./autogen.sh
+# ./configure --prefix="$PREFIX"
+# make check
+# make install
# Using cmake
-# mkdir build
-# cd build
+mkdir build
+cd build
+cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INCLUDE_PATH="$PREFIX/include" -D CMAKE_LIBRARY_PATH="$PREFIX/lib" -D CMAKE_C_FLAGS_RELEASE="-MT" -D CMAKE_CXX_FLAGS_RELEASE="-MT" -D CMAKE_C_FLAGS_DEBUG="-MTd" CMAKE_INSTALL_PREFIX="$PREFIX" ..
# cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=$PREFIX ..
-# make check
-# make install
+make check
+make install
