Skip to content

Commit 45e12a2

Browse files
committed
build fix
1 parent 9e827ae commit 45e12a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
COPY /Y build\janet\janetconf.h vendor\janet\src\conf\janetconf.h
2424
cd build
25-
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON -DBUILD_SDL=ON ..
25+
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_WITH_ALL=ON -DBUILD_SOKOL=ON ..
2626
cmake --build . --config MinSizeRel --parallel
2727
2828
- name: Deploy
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
COPY /Y build\janet\janetconf.h vendor\janet\src\conf\janetconf.h
4040
cd build
41-
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_PRO=ON -DBUILD_WITH_ALL=ON -DBUILD_SDL=ON ..
41+
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_PRO=ON -DBUILD_WITH_ALL=ON -DBUILD_SOKOL=ON ..
4242
cmake --build . --config MinSizeRel --parallel
4343
4444
# === Windows ===

cmake/sokol.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if(BUILD_SOKOL)
2626
target_link_libraries(sokol PRIVATE D3D11)
2727
elseif(LINUX)
2828
target_compile_definitions(sokol PRIVATE SOKOL_GLCORE)
29-
target_link_libraries(sokol PRIVATE x11 xcursor xi gl m dl asound)
29+
target_link_libraries(sokol PRIVATE X11 Xcursor Xi GL m dl asound)
3030
elseif(ANDROID)
3131
target_compile_definitions(sokol PRIVATE SOKOL_GLES3)
3232
target_link_libraries(sokol PRIVATE android log aaudio EGL GLESv2 GLESv3)

0 commit comments

Comments
 (0)