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)