gamemode: Fix compile issues (#7276)

The Linux build fails to compile because gamemode will try to link
against `common` when it's not needed.
This commit is contained in:
Daniel López Guimaraes 2023-12-22 14:59:44 +01:00 committed by GitHub
parent f177433d41
commit dccb8f6b17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,5 @@ project(gamemode LANGUAGES CXX C)
add_library(gamemode include/gamemode_client.h) add_library(gamemode include/gamemode_client.h)
target_link_libraries(gamemode PRIVATE common)
target_include_directories(gamemode PUBLIC include) target_include_directories(gamemode PUBLIC include)
set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C) set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C)