mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-22 23:15:37 +00:00
cmake: move gamemode target include into its file
This commit is contained in:
parent
40644d43f7
commit
ac11f6e4c5
1
externals/CMakeLists.txt
vendored
1
externals/CMakeLists.txt
vendored
|
@ -191,7 +191,6 @@ endif()
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
add_subdirectory(gamemode)
|
add_subdirectory(gamemode)
|
||||||
target_include_directories(gamemode PUBLIC gamemode/include)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Breakpad
|
# Breakpad
|
||||||
|
|
2
externals/gamemode/CMakeLists.txt
vendored
2
externals/gamemode/CMakeLists.txt
vendored
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
# SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
project(gamemode)
|
project(gamemode LANGUAGES CXX C)
|
||||||
|
|
||||||
add_library(gamemode include/gamemode_client.h)
|
add_library(gamemode include/gamemode_client.h)
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ target_link_libraries(yuzu-cmd PRIVATE SDL2::SDL2 Vulkan::Headers)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
install(TARGETS yuzu-cmd)
|
install(TARGETS yuzu-cmd)
|
||||||
target_link_libraries(yuzu-cmd PRIVATE gamemode)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
Loading…
Reference in a new issue