Skip to content

Commit c989233

Browse files
committed
fix js_client sources
1 parent a1fbd1f commit c989233

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

js/client/sources.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Generated by js/update_sources.sh, do not edit directly
22
set(
3-
CLIENT_SOURCES
3+
JS_CLIENT_SOURCES
44
package.json
55
webpack.config.js
66
src/enums.js

js/update_sources.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ function update
1717
{
1818
cd "$root_dir/$1"
1919

20-
name=`echo $1 | tr a-z A-Z`
21-
2220
output=sources.cmake
2321

2422
(
2523
echo "# Generated by js/update_sources.sh, do not edit directly"
2624
echo "set("
27-
echo "${name}_SOURCES"
25+
echo "$2_SOURCES"
2826
echo "package.json"
2927
echo_if_exists .babelrc
3028
echo_if_exists webpack.config.js
@@ -33,6 +31,6 @@ function update
3331
) > $output
3432
}
3533

36-
update api_tests
37-
update client
38-
update webui
34+
update api_tests API_TESTS
35+
update client JS_CLIENT
36+
update webui WEBUI

js/webui/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include(sources.cmake)
22
include(../client/sources.cmake)
33

4-
list(TRANSFORM JS_CLIENT_SOURCES PREPEND "../client/src/")
4+
list(TRANSFORM JS_CLIENT_SOURCES PREPEND "../client/")
55

66
set(
77
WEBUI_OUTPUT_FILES

0 commit comments

Comments
 (0)