Skip to content

Commit

Permalink
Add options to enable or disable installation of mujoco samples and s…
Browse files Browse the repository at this point in the history
…imulate
  • Loading branch information
traversaro authored Mar 5, 2024
1 parent 224fbd0 commit 1a8b6fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ if(APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS)
set(_INSTALL_SAMPLES OFF)
endif()

if(_INSTALL_SAMPLES)
option(MUJOCO_SAMPLES_INSTALL "If ON, also install samples executables." ${_INSTALL_SAMPLES})

if(MUJOCO_SAMPLES_INSTALL)

include(TargetAddRpath)

Expand Down
4 changes: 3 additions & 1 deletion simulate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ if(SIMULATE_BUILD_EXECUTABLE)
set(_INSTALL_SIMULATE OFF)
endif()

if(_INSTALL_SIMULATE)
option(MUJOCO_SIMULATE_INSTALL "If ON, also install simulate executable." ${_INSTALL_SIMULATE})

if(MUJOCO_SIMULATE_INSTALL)

include(TargetAddRpath)

Expand Down

0 comments on commit 1a8b6fe

Please sign in to comment.