add automatic archlinux build detection(wx path can not be found otherwise)

This commit is contained in:
3kinox 2014-11-11 14:49:14 +01:00
parent ec1da2805c
commit 4991ef608d
1 changed files with 6 additions and 0 deletions

View File

@ -16,7 +16,13 @@
#set -e # This terminates the script in case of any error
arch64Build=$(uname -a | grep ARCH)
if [[ -e "arch64Build" ]]; then
#add flags for archlinux
flags=(-DCMAKE_BUILD_PO=FALSE -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config32-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8')
else
flags=(-DCMAKE_BUILD_PO=FALSE)
fi
cleanBuild=0
useClang=0