move them around
This commit is contained in:
parent
21fb0b9116
commit
53c4ce436a
5 changed files with 57 additions and 58 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue