From 8e3b4783075fd3e95ba01363dabd3a0837e26a82 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Thu, 29 Jan 2026 16:58:30 +0900 Subject: [PATCH] linux fix --- client/CMakeLists.txt | 3 +++ submodule/milsko | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 0f50b2f..9e667a1 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -4,5 +4,8 @@ file(GLOB af_client_SRC *.c) add_executable(af_client ${af_client_SRC}) target_link_libraries(af_client PRIVATE GearSrc Mw) +if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows") + target_link_libraries(af_client PRIVATE m) +endif() install_target(af_client) diff --git a/submodule/milsko b/submodule/milsko index bbb20f0..64c3cdb 160000 --- a/submodule/milsko +++ b/submodule/milsko @@ -1 +1 @@ -Subproject commit bbb20f081ef347f074912091e0f641b8104fc69a +Subproject commit 64c3cdb4a511b0b9efcd538a4c1bc82cbbda7dc8