diff --git a/MechoSoma/CMakeLists.txt b/MechoSoma/CMakeLists.txt index e270ce2..64b881d 100644 --- a/MechoSoma/CMakeLists.txt +++ b/MechoSoma/CMakeLists.txt @@ -521,11 +521,14 @@ if (STEAM_VERSION) if (WIN32) link_directories(../3rdparty/steamworks_sdk_158/lib/win64) set(STEAM_LIBRARY steam_api64) + elseif (LINUX) + link_directories(../3rdparty/steamworks_sdk_158/lib/linux64) + set(STEAM_LIBRARY steam_api) elseif (APPLE) link_directories(../3rdparty/steamworks_sdk_158/lib/osx) set(STEAM_LIBRARY steam_api) else() - message(FATAL_ERROR "Steam version supports only Windows and macOS platforms") + message(FATAL_ERROR "Steam version supports only Windows, Linux and macOS platforms") endif() endif()