Skip to content

Commit

Permalink
Steamworks SDK integration for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-ushakov committed Feb 17, 2024
1 parent a84c79d commit 23fe3af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MechoSoma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 23fe3af

Please sign in to comment.