Fixes #382 (compile with unittests disabled)
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/utils)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT (APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS))
|
||||
|
||||
Reference in New Issue
Block a user