build(cmake): build web-ui target with cmd instead of bash on windows (#2340)
This commit is contained in:
parent
b4739b05c6
commit
9020c2c229
3 changed files with 24 additions and 17 deletions
|
|
@ -1,2 +1,8 @@
|
|||
# unix specific target definitions
|
||||
# put anything here that applies to both linux and macos
|
||||
|
||||
#WebUI build
|
||||
add_custom_target(web-ui ALL
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
COMMENT "Installing NPM Dependencies and Building the Web UI"
|
||||
COMMAND bash -c \"npm install && SUNSHINE_BUILD_HOMEBREW=${NPM_BUILD_HOMEBREW} SUNSHINE_SOURCE_ASSETS_DIR=${NPM_SOURCE_ASSETS_DIR} SUNSHINE_ASSETS_DIR=${NPM_ASSETS_DIR} npm run build\") # cmake-lint: disable=C0301
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue