move them around

This commit is contained in:
Nishi 2026-01-12 06:41:04 +09:00
commit 53c4ce436a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
5 changed files with 57 additions and 58 deletions

View file

@ -5,8 +5,6 @@ include(GNUInstallDirs)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
add_subdirectory(ode)
macro(install_target name)
install(
TARGETS ${name}
@ -20,7 +18,6 @@ file(GLOB GearSrc_SRC src/*.c)
add_library(GearSrc SHARED ${GearSrc_SRC})
target_include_directories(GearSrc PUBLIC include)
target_include_directories(GearSrc PRIVATE lz4)
target_compile_definitions(GearSrc PRIVATE _GEARSRC)
target_link_libraries(GearSrc PRIVATE ode lz4)
target_link_options(GearSrc PRIVATE -static-libgcc -static-libstdc++)