diff --git a/CMakeLists.txt b/CMakeLists.txt index 1085d51c92..f3b6140158 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,7 @@ option(ENABLE_VULKAN "Enables vulkan video backend" ON) option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence, show the current game on Discord" ON) option(USE_MGBA "Enables GBA controllers emulation using libmgba" ON) option(ENABLE_AUTOUPDATE "Enables support for automatic updates" ON) +option(STEAM "Creates a build for Steam" ON) # Maintainers: if you consider blanket disabling this for your users, please # consider the following points: @@ -937,6 +938,10 @@ else() message(STATUS "libsystemd not found, disabling traversal server watchdog support") endif() +if(STEAM) + add_definitions(-DSTEAM) +endif() + if (WIN32) include_directories(Externals/WIL/include) include_directories(Externals/OpenAL/include)