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

View File

@ -428,8 +428,10 @@ if(ENABLE_LTO)
endif() endif()
endif() endif()
if(UNIX AND LINUX_LOCAL_DEV) if(UNIX)
add_definitions(-DLINUX_LOCAL_DEV) if(LINUX_LOCAL_DEV OR (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND STEAM))
add_definitions(-DLINUX_LOCAL_DEV)
endif()
endif() endif()
# BSDs put packages in /usr/local instead of /usr, so we need to # BSDs put packages in /usr/local instead of /usr, so we need to