Skip to content

Commit b88ec4d

Browse files
Fix SimulateDependecies
1 parent edb1790 commit b88ec4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simulate/cmake/SimulateDependencies.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if(MUJOCO_EXTRAS_STATIC_GLFW)
9898
unset(BUILD_SHARED_LIBS_OLD)
9999
endif()
100100

101-
if(NOT SIMULATE_STANDALONE)
101+
if(NOT SIMULATE_STANDALONE AND NOT MUJOCO_SIMULATE_USE_SYSTEM_GLFW)
102102
target_compile_options(glfw PRIVATE ${MUJOCO_MACOS_COMPILE_OPTIONS})
103103
target_link_options(glfw PRIVATE ${MUJOCO_MACOS_LINK_OPTIONS})
104104
endif()

0 commit comments

Comments
 (0)