diff --git a/console/CMakeLists.txt b/console/CMakeLists.txt index 1b021e4f47..576aaf0747 100644 --- a/console/CMakeLists.txt +++ b/console/CMakeLists.txt @@ -6,7 +6,7 @@ endif() # add a target that will package the console add_custom_target(${TARGET_NAME} ALL - COMMAND npm install + npm install COMMAND npm run packager -- --out ${CMAKE_CURRENT_BINARY_DIR} ${PRODUCTION_OPTION} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )