Merge pull request #201 from aftersomemath:refactor-simulate
PiperOrigin-RevId: 465044152 Change-Id: I54e65a30764a444dbd175260314d685fd7ffa6a1
This commit is contained in:
@@ -58,8 +58,10 @@ findorfetch(
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
option(MUJOCO_SAMPLES_STATIC_GLFW "Link MuJoCo sample apps against GLFW statically." ON)
|
||||
if(MUJOCO_SAMPLES_STATIC_GLFW)
|
||||
option(MUJOCO_EXTRAS_STATIC_GLFW
|
||||
"Link MuJoCo sample apps and simulate libraries against GLFW statically." ON
|
||||
)
|
||||
if(MUJOCO_EXTRAS_STATIC_GLFW)
|
||||
set(BUILD_SHARED_LIBS_OLD ${BUILD_SHARED_LIBS})
|
||||
set(BUILD_SHARED_LIBS
|
||||
OFF
|
||||
@@ -88,7 +90,7 @@ findorfetch(
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
if(MUJOCO_SAMPLES_STATIC_GLFW)
|
||||
if(MUJOCO_EXTRAS_STATIC_GLFW)
|
||||
set(BUILD_SHARED_LIBS
|
||||
${BUILD_SHARED_LIBS_OLD}
|
||||
CACHE BOOL "Build SHARED libraries" FORCE
|
||||
|
||||
Reference in New Issue
Block a user