Merge pull request #12227 from jbeich/gamemode

cmake: unbreak build on FreeBSD by re-enabling gamemode
This commit is contained in:
liamwhite authored and GitHub committed 2023-11-30 09:21:19 -05:00
commit 3a12fe5d13
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ if (ANDROID)
endif()
endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (UNIX AND NOT APPLE)
add_subdirectory(gamemode)
endif()
+1 -1
View File
@@ -182,7 +182,7 @@ if(ANDROID)
)
endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (UNIX AND NOT APPLE)
target_sources(common PRIVATE
linux/gamemode.cpp
linux/gamemode.h