Fix sokol build on linux

This commit is contained in:
Dominic Szablewski 2023-09-04 16:48:53 +02:00
parent b23efa3a52
commit de13e2af82

View file

@ -159,7 +159,7 @@ elseif(EMSCRIPTEN)
configure_file("${CMAKE_SOURCE_DIR}/src/wasm-index.html" "game.html" COPYONLY) configure_file("${CMAKE_SOURCE_DIR}/src/wasm-index.html" "game.html" COPYONLY)
elseif(UNIX) elseif(UNIX)
target_link_libraries(wipeout PUBLIC m) target_link_libraries(wipeout PUBLIC m)
if (PLATFORM STREQUAL "SOKOL" AND LINUX) if ("${PLATFORM}" STREQUAL "SOKOL" AND UNIX)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
find_package(X11 REQUIRED) find_package(X11 REQUIRED)
find_package(ALSA REQUIRED) find_package(ALSA REQUIRED)