mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-03 17:22:25 -07:00
cmake: prefer system gamemode library
This commit is contained in:
6
externals/CMakeLists.txt
vendored
6
externals/CMakeLists.txt
vendored
@@ -193,8 +193,10 @@ if (ANDROID)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
add_subdirectory(gamemode)
|
||||
if (UNIX AND NOT APPLE AND NOT TARGET gamemode::headers)
|
||||
add_library(gamemode INTERFACE)
|
||||
target_include_directories(gamemode INTERFACE gamemode)
|
||||
add_library(gamemode::headers ALIAS gamemode)
|
||||
endif()
|
||||
|
||||
# Breakpad
|
||||
|
Reference in New Issue
Block a user