2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #12227 from jbeich/gamemode

cmake: unbreak build on FreeBSD by re-enabling gamemode
This commit is contained in:
liamwhite 2023-11-30 09:21:19 -05:00 committed by GitHub
commit 3a12fe5d13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -193,7 +193,7 @@ if (ANDROID)
endif() endif()
endif() endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Linux") if (UNIX AND NOT APPLE)
add_subdirectory(gamemode) add_subdirectory(gamemode)
endif() endif()

View file

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