linux fix

This commit is contained in:
Nishi 2026-01-29 16:58:30 +09:00
commit 8e3b478307
2 changed files with 4 additions and 1 deletions

View file

@ -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)