diff options
| author | 2023-11-03 15:57:43 +0100 | |
|---|---|---|
| committer | 2023-11-25 19:30:45 +0100 | |
| commit | ac11f6e4c5da64db5a6fb2647afbb85164f06086 (patch) | |
| tree | cecd8662ff24c7d8d641b58e3d11f29089eee504 | |
| parent | yuzu: create linux group in general settings (diff) | |
| download | yuzu-ac11f6e4c5da64db5a6fb2647afbb85164f06086.tar.gz yuzu-ac11f6e4c5da64db5a6fb2647afbb85164f06086.tar.xz yuzu-ac11f6e4c5da64db5a6fb2647afbb85164f06086.zip | |
cmake: move gamemode target include into its file
Diffstat (limited to '')
| -rw-r--r-- | externals/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | externals/gamemode/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/CMakeLists.txt | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 4ce9f201e..406277fd7 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -191,7 +191,6 @@ endif() | |||
| 191 | 191 | ||
| 192 | if (UNIX) | 192 | if (UNIX) |
| 193 | add_subdirectory(gamemode) | 193 | add_subdirectory(gamemode) |
| 194 | target_include_directories(gamemode PUBLIC gamemode/include) | ||
| 195 | endif() | 194 | endif() |
| 196 | 195 | ||
| 197 | # Breakpad | 196 | # Breakpad |
diff --git a/externals/gamemode/CMakeLists.txt b/externals/gamemode/CMakeLists.txt index eb970023d..87095642e 100644 --- a/externals/gamemode/CMakeLists.txt +++ b/externals/gamemode/CMakeLists.txt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project | 1 | # SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later | 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | 3 | ||
| 4 | project(gamemode) | 4 | project(gamemode LANGUAGES CXX C) |
| 5 | 5 | ||
| 6 | add_library(gamemode include/gamemode_client.h) | 6 | add_library(gamemode include/gamemode_client.h) |
| 7 | 7 | ||
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index 002f3e841..fbeba8813 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt | |||
| @@ -44,7 +44,6 @@ target_link_libraries(yuzu-cmd PRIVATE SDL2::SDL2 Vulkan::Headers) | |||
| 44 | 44 | ||
| 45 | if(UNIX AND NOT APPLE) | 45 | if(UNIX AND NOT APPLE) |
| 46 | install(TARGETS yuzu-cmd) | 46 | install(TARGETS yuzu-cmd) |
| 47 | target_link_libraries(yuzu-cmd PRIVATE gamemode) | ||
| 48 | endif() | 47 | endif() |
| 49 | 48 | ||
| 50 | if(WIN32) | 49 | if(WIN32) |