fix cmake.sh

This commit is contained in:
Nguyen Anh Quynh 2019-04-29 21:15:17 +08:00
parent 1325eb1119
commit 285329811d

2
cmake.sh Normal file → Executable file
View File

@ -52,7 +52,7 @@ case $1 in
;;
esac
if "${ARCH}" == ""; then
if [ "x${ARCH}" = "x" ]; then
FLAGS+=" -DCAPSTONE_ARCHITECTURE_DEFAULT=ON"
else
FLAGS+=" -DCAPSTONE_ARCHITECTURE_DEFAULT=OFF -DCAPSTONE_${ARCH}_SUPPORT=ON"