Skip to content

Commit

Permalink
cmake: Install vvdecapp if VVDEC_INSTALL_VVDECAPP set
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoch committed Nov 28, 2024
1 parent 441b5a6 commit d938364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/vvdecInstall.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if( VVDEC_INSTALL_VVDECAPP )
endif()

# install emscripten generated files
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten" )
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten" AND VVDEC_INSTALL_VVDECAPP)
install( PROGRAMS $<TARGET_FILE_DIR:vvdecapp>/vvdecapp.wasm DESTINATION ${RUNTIME_DEST} )
install( PROGRAMS $<TARGET_FILE_DIR:vvdecapp>/vvdecapp.worker.js DESTINATION ${RUNTIME_DEST} )
endif()
Expand Down

0 comments on commit d938364

Please sign in to comment.