Try #2 to fix Jenkins build

modernize-cmake-1
MrSimbax 2020-04-05 14:20:53 +02:00
parent 0597c0efda
commit c5e8df16e0
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -27,6 +27,7 @@ pipeline {
dir('build/windows') {
sh '''
# FIXME: without -lsetupapi linking sdl2 fails
rm -rf *
/opt/mxe/usr/bin/i686-w64-mingw32.static-cmake \
-DCMAKE_CXX_STANDARD_LIBRARIES="-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -lsetupapi" \
-DCMAKE_INSTALL_PREFIX=/install \