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)
|
if(BUILD_TESTING AND MUJOCO_BUILD_TESTS)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif()
|
if(MUJOCO_TEST_PYTHON_UTIL)
|
||||||
|
add_subdirectory(python/mujoco/utils)
|
||||||
if(BUILD_TESTING AND MUJOCO_TEST_PYTHON_UTIL)
|
endif()
|
||||||
enable_testing()
|
|
||||||
add_subdirectory(python/mujoco/util)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT (APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS))
|
if(NOT (APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS))
|
||||||
|
|||||||
Reference in New Issue
Block a user