Skip to content

Commit f5799c2

Browse files
committed
disable webpack colored output under VS
1 parent c989233 commit f5799c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/webui/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ set(
1515
--env "$<IF:$<BOOL:${ENABLE_TESTS}>,tests,noTests>"
1616
)
1717

18+
if(CMAKE_GENERATOR MATCHES "Visual Studio")
19+
set(WEBUI_BUILD_ARGS ${WEBUI_BUILD_ARGS} --no-color)
20+
endif()
21+
1822
add_custom_command(
1923
OUTPUT ${WEBUI_OUTPUT_FILES}
2024
DEPENDS ${WEBUI_SOURCES} ${JS_CLIENT_SOURCES} ${YARN_INTEGRITY} js_packages

0 commit comments

Comments
 (0)