CMakeLists: Enable LINUX_LOCAL_DEV on Steam builds for Linux

The Sys folder should be included along with the executable.
This commit is contained in:
OatmealDome 2022-02-18 13:50:27 -05:00
parent abb7b35011
commit 52d7a6f56a
1 changed files with 4 additions and 2 deletions

View File

@ -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