forked from mirror/openmw-tes3mp
Fix MyGUI include dir, and properly return error codes
This commit is contained in:
parent
f8485211a1
commit
a831e89a43
2 changed files with 7 additions and 4 deletions
|
@ -372,8 +372,7 @@ fi
|
|||
MYGUI_SDK="`real_pwd`/MyGUI"
|
||||
|
||||
add_cmake_opts -DMYGUISDK="$MYGUI_SDK" \
|
||||
-DMYGUI_INCLUDE_DIRS="$MYGUI_SDK/include" \
|
||||
-DMYGUI_PLATFORM_INCLUDE_DIRS="$MYGUI_SDK/include/MYGUI" \
|
||||
-DMYGUI_INCLUDE_DIRS="$MYGUI_SDK/include/MYGUI" \
|
||||
-DMYGUI_PREQUEST_FILE="$MYGUI_SDK/include/MYGUI/MyGUI_Prerequest.h"
|
||||
|
||||
if [ $CONFIGURATION == "Debug" ]; then
|
||||
|
|
|
@ -50,6 +50,10 @@ else
|
|||
msbuild OpenMW.sln //t:Build //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
fi
|
||||
|
||||
if [ ! -z $PACKAGE ]; then
|
||||
RET=$?
|
||||
if [ $RET -eq 0 ] && [ ! -z $PACKAGE ]; then
|
||||
msbuild PACKAGE.vcxproj //t:Build //m:8
|
||||
fi
|
||||
RET=$?
|
||||
fi
|
||||
|
||||
exit $RET
|
||||
|
|
Loading…
Reference in a new issue