diff options
| author | 2023-11-29 23:11:36 +0100 | |
|---|---|---|
| committer | 2023-11-30 00:05:11 +0100 | |
| commit | df96caec793fbf4262a2dee2a77cbd09725a078d (patch) | |
| tree | bcb255472ae86f2030831c1986ca3d0191ae159f /src/common/CMakeLists.txt | |
| parent | Merge pull request #12223 from liamwhite/fruit-company (diff) | |
| download | yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.gz yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.tar.xz yuzu-df96caec793fbf4262a2dee2a77cbd09725a078d.zip | |
cmake: sync gamemode conditionals with code after 5eec980a2d71
FAILED: bin/yuzu
ld: error: unable to find library -lgamemode
FAILED: bin/yuzu-cmd
ld: error: undefined symbol: Common::Linux::StartGamemode()
>>> referenced by yuzu.cpp
>>> src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/yuzu.cpp.o:(main)
ld: error: undefined symbol: Common::Linux::StopGamemode()
>>> referenced by yuzu.cpp
>>> src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/yuzu.cpp.o:(main)
Diffstat (limited to '')
| -rw-r--r-- | src/common/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 2651daadb..289760c40 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -174,7 +174,7 @@ if(ANDROID) | |||
| 174 | ) | 174 | ) |
| 175 | endif() | 175 | endif() |
| 176 | 176 | ||
| 177 | if (CMAKE_SYSTEM_NAME STREQUAL "Linux") | 177 | if (UNIX AND NOT APPLE) |
| 178 | target_sources(common PRIVATE | 178 | target_sources(common PRIVATE |
| 179 | linux/gamemode.cpp | 179 | linux/gamemode.cpp |
| 180 | linux/gamemode.h | 180 | linux/gamemode.h |