use different syntax for custom packaged console target

This commit is contained in:
Stephen Birarda 2016-01-14 13:14:41 -08:00
parent 81493f9b4e
commit 0cfc87160a

View file

@ -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}
)