From de13e2af82ed488da33a20255280a3be57fa4325 Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Mon, 4 Sep 2023 16:48:53 +0200 Subject: [PATCH] Fix sokol build on linux --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 702d3ac..2581843 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,7 +159,7 @@ elseif(EMSCRIPTEN) configure_file("${CMAKE_SOURCE_DIR}/src/wasm-index.html" "game.html" COPYONLY) elseif(UNIX) target_link_libraries(wipeout PUBLIC m) - if (PLATFORM STREQUAL "SOKOL" AND LINUX) + if ("${PLATFORM}" STREQUAL "SOKOL" AND UNIX) find_package(Threads REQUIRED) find_package(X11 REQUIRED) find_package(ALSA REQUIRED)