mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
cmake: sync gamemode conditionals with code after 5eec980a2d
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)
This commit is contained in:
parent
9dc9aaf4af
commit
df96caec79
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
@ -189,7 +189,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()
|
||||||
|
|
||||||
|
@ -174,7 +174,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
|
||||||
|
Loading…
Reference in New Issue
Block a user