From ac11f6e4c5da64db5a6fb2647afbb85164f06086 Mon Sep 17 00:00:00 2001 From: flodavid Date: Fri, 3 Nov 2023 15:57:43 +0100 Subject: cmake: move gamemode target include into its file --- externals/CMakeLists.txt | 1 - externals/gamemode/CMakeLists.txt | 2 +- src/yuzu_cmd/CMakeLists.txt | 1 - 3 files changed, 1 insertion(+), 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() if (UNIX) add_subdirectory(gamemode) - target_include_directories(gamemode PUBLIC gamemode/include) endif() # 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 @@ # SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project # SPDX-License-Identifier: GPL-3.0-or-later -project(gamemode) +project(gamemode LANGUAGES CXX C) add_library(gamemode include/gamemode_client.h) 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) if(UNIX AND NOT APPLE) install(TARGETS yuzu-cmd) - target_link_libraries(yuzu-cmd PRIVATE gamemode) endif() if(WIN32) -- cgit v1.2.3