Add [SdfLib](https://github.com/UPC-ViRVIG/SdfLib) plugin to first-party SDFs.
The following dependencies are disabled with a cmake patch file. - Enoki - OpenMP - Assimp - FCPW PiperOrigin-RevId: 565352386 Change-Id: Icff9de68408e0afa2032bb83b24491fc4e41d181
This commit is contained in:
committed by
Copybara-Service
parent
de5c3b1a09
commit
1afd98ec4b
@@ -28,6 +28,8 @@ set(MUJOCO_SDF_SRCS
|
||||
register.cc
|
||||
nut.cc
|
||||
nut.h
|
||||
sdflib.cc
|
||||
sdflib.h
|
||||
torus.cc
|
||||
torus.h
|
||||
)
|
||||
@@ -35,7 +37,7 @@ set(MUJOCO_SDF_SRCS
|
||||
add_library(sdf SHARED)
|
||||
target_sources(sdf PRIVATE ${MUJOCO_SDF_SRCS})
|
||||
target_include_directories(sdf PRIVATE ${MUJOCO_SDF_INCLUDE})
|
||||
target_link_libraries(sdf PRIVATE mujoco)
|
||||
target_link_libraries(sdf PRIVATE mujoco SdfLib)
|
||||
target_compile_options(
|
||||
sdf
|
||||
PRIVATE ${AVX_COMPILE_OPTIONS}
|
||||
|
||||
Reference in New Issue
Block a user