This commit is contained in:
Nishi 2026-01-12 07:28:24 +09:00
commit bcefd78599
Signed by: nishi
GPG key ID: 27EF69B208EB9343
9 changed files with 102 additions and 4 deletions

View file

@ -19,7 +19,7 @@ file(GLOB GearSrc_SRC src/*.c)
add_library(GearSrc SHARED ${GearSrc_SRC})
target_include_directories(GearSrc PUBLIC include)
target_compile_definitions(GearSrc PRIVATE _GEARSRC)
target_link_libraries(GearSrc PRIVATE ode lz4)
target_link_libraries(GearSrc PRIVATE xemil ode lz4)
target_link_options(GearSrc PRIVATE -static-libgcc -static-libstdc++)
if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
target_link_libraries(GearSrc PRIVATE m)