File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,11 @@ pi_task:
1111 env :
1212 matrix :
1313 - RAYLIB_PLATFORM : " Desktop"
14+ RAYLIB_OPENGL : " 2.1"
1415 - RAYLIB_PLATFORM : " SDL"
16+ RAYLIB_OPENGL : " 2.1"
1517 - RAYLIB_PLATFORM : " DRM"
18+ RAYLIB_OPENGL : " ES2"
1619 setup_script :
1720 - apt update
1821 - apt -y install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev libgbm-dev libdrm-dev
@@ -37,9 +40,9 @@ pi_task:
3740 - cd raylib-c
3841 - mkdir build2
3942 - cd build2
40- - cmake -DPLATFORM=${RAYLIB_PLATFORM} -DBUILD_EXAMPLES=OFF -DCUSTOMIZE_BUILD=ON -DSUPPORT_FILEFORMAT_JPG=ON -DSUPPORT_FILEFORMAT_FLAC=ON -DWITH_PIC=ON -DCMAKE_BUILD_TYPE=Release ..
43+ - cmake -DPLATFORM=${RAYLIB_PLATFORM} -DOPENGL_VERSION=${RAYLIB_OPENGL} - DBUILD_EXAMPLES=OFF -DCUSTOMIZE_BUILD=ON -DSUPPORT_FILEFORMAT_JPG=ON -DSUPPORT_FILEFORMAT_FLAC=ON -DWITH_PIC=ON -DCMAKE_BUILD_TYPE=Release ..
4144 - make -j2
42- - sudo cp raylib/libraylib.a /usr/local/lib/libraylib.a
45+ - cp raylib/libraylib.a /usr/local/lib/libraylib.a
4346 build_script :
4447 - cp -r raylib-c/src/external/glfw/include/GLFW /usr/local/include/
4548 - cp physac/src/physac.h /usr/local/include/
You can’t perform that action at this time.
0 commit comments