Skip to content

Commit

Permalink
CMakeLists: Enable LINUX_LOCAL_DEV on Steam builds for Linux
Browse files Browse the repository at this point in the history
The Sys folder should be included along with the executable.
  • Loading branch information
OatmealDome committed May 29, 2022
1 parent abb7b35 commit 52d7a6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,10 @@ if(ENABLE_LTO)
endif()
endif()

if(UNIX AND LINUX_LOCAL_DEV)
add_definitions(-DLINUX_LOCAL_DEV)
if(UNIX)
if(LINUX_LOCAL_DEV OR (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND STEAM))
add_definitions(-DLINUX_LOCAL_DEV)
endif()
endif()

# BSDs put packages in /usr/local instead of /usr, so we need to
Expand Down

0 comments on commit 52d7a6f

Please sign in to comment.