diff options
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | externals/gamemode/CMakeLists.txt | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 36fc60e0e..4ce9f201e 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -189,8 +189,7 @@ if (ANDROID) | |||
| 189 | endif() | 189 | endif() |
| 190 | endif() | 190 | endif() |
| 191 | 191 | ||
| 192 | # Gamemode | 192 | if (UNIX) |
| 193 | if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") | ||
| 194 | add_subdirectory(gamemode) | 193 | add_subdirectory(gamemode) |
| 195 | target_include_directories(gamemode PUBLIC gamemode/include) | 194 | target_include_directories(gamemode PUBLIC gamemode/include) |
| 196 | endif() | 195 | endif() |
diff --git a/externals/gamemode/CMakeLists.txt b/externals/gamemode/CMakeLists.txt index 3dddc6dbd..eb970023d 100644 --- a/externals/gamemode/CMakeLists.txt +++ b/externals/gamemode/CMakeLists.txt | |||
| @@ -4,4 +4,8 @@ | |||
| 4 | project(gamemode) | 4 | project(gamemode) |
| 5 | 5 | ||
| 6 | add_library(gamemode include/gamemode_client.h) | 6 | add_library(gamemode include/gamemode_client.h) |
| 7 | |||
| 8 | target_link_libraries(gamemode PRIVATE common) | ||
| 9 | |||
| 10 | target_include_directories(gamemode PUBLIC include) | ||
| 7 | set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C) | 11 | set_target_properties(gamemode PROPERTIES LINKER_LANGUAGE C) |