mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 13:45:45 +00:00
cmake: prefer system gamemode library
This commit is contained in:
parent
127bfb81d5
commit
d2bb9e9729
8 changed files with 29 additions and 18 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue