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,9 +428,11 @@ if(ENABLE_LTO)
endif() endif()
endif() endif()
if(UNIX AND LINUX_LOCAL_DEV) if(UNIX)
if(LINUX_LOCAL_DEV OR (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND STEAM))
add_definitions(-DLINUX_LOCAL_DEV) 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
# force CMake to look in those directories by default, too. # force CMake to look in those directories by default, too.