diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2023-11-29 23:11:36 +0100 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2023-11-30 00:05:11 +0100 |
| commit | 93abc60cf71aa7de341d861c754f7b760edfe0d5 (patch) | |
| tree | bcb255472ae86f2030831c1986ca3d0191ae159f /src | |
| parent | 32380366f7cbf186a6471d83beb3f34d17deb4f7 (diff) | |
cmake: sync gamemode conditionals with code after 0fff56e1ef1d
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 'src')
| -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 2651daadbb..289760c409 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -174,7 +174,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 |
