Merge pull request #385 from wpumacay:fix-build-without-tests
PiperOrigin-RevId: 461352099 Change-Id: I27ad117a5a0055af32abc70f0cc3aea8dff8fdca
This commit is contained in:
+3
-5
@@ -159,11 +159,9 @@ endif()
|
||||
if(BUILD_TESTING AND MUJOCO_BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING AND MUJOCO_TEST_PYTHON_UTIL)
|
||||
enable_testing()
|
||||
add_subdirectory(python/mujoco/util)
|
||||
if(MUJOCO_TEST_PYTHON_UTIL)
|
||||
add_subdirectory(python/mujoco/util)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT (APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS))
|
||||
|
||||
Reference in New Issue
Block a user