Skip to content

Commit 2ebf65f

Browse files
committed
Properly remove application source code in case of Release build for new webGUI.
1 parent ed87cc9 commit 2ebf65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webgui-new/InstallReact.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ../webgui-new/out ${I
4444

4545
if (CMAKE_BUILD_TYPE STREQUAL "Release")
4646
# Remove application source code in case of Release build
47-
file(REMOVE ${INSTALL_WEBROOT_REACT_DIR}/app)
47+
file(REMOVE_RECURSE ${INSTALL_WEBROOT_REACT_DIR}/app)
4848
endif()
4949

5050
message("Building React App finished.")

0 commit comments

Comments
 (0)