Exclude CMake install steps for Emscripten.
Install steps aren't needed for WASM builds, and are causing issues with EXPORT relating to lodepng and miniz. PiperOrigin-RevId: 914891405 Change-Id: If653fe7449b0166ad6762a3fad6b95e02f3532b1
This commit is contained in:
committed by
Copybara-Service
parent
e1f5534b5f
commit
9230b34fed
+1
-4
@@ -296,11 +296,8 @@ if(BUILD_TESTING AND MUJOCO_BUILD_TESTS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT (APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS))
|
||||
if(NOT EMSCRIPTEN AND NOT (APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS))
|
||||
set(MUJOCO_TARGETS mujoco)
|
||||
if (EMSCRIPTEN)
|
||||
list(APPEND MUJOCO_TARGETS lodepng)
|
||||
endif()
|
||||
|
||||
# Install the libraries.
|
||||
install(
|
||||
|
||||
Reference in New Issue
Block a user