From dccb8f6b17238e251bc511e01bdc8a60852872b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= <112760654+DaniElectra@users.noreply.github.com> Date: Fri, 22 Dec 2023 14:59:44 +0100 Subject: [PATCH] gamemode: Fix compile issues (#7276) The Linux build fails to compile because gamemode will try to link against `common` when it's not needed. --- externals/gamemode/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/externals/gamemode/CMakeLists.txt b/externals/gamemode/CMakeLists.txt index 87095642e6..a0c6b2b1e2 100644 --- a/externals/gamemode/CMakeLists.txt +++ b/externals/gamemode/CMakeLists.txt @@ -5,7 +5,5 @@ project(gamemode LANGUAGES CXX C) add_library(gamemode include/gamemode_client.h) -target_link_libraries(gamemode PRIVATE common) - target_include_directories(gamemode PUBLIC include) set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C)