Skip to content

Commit 9a7dc64

Browse files
Clean up html producer make file
1 parent 187ccdd commit 9a7dc64

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

src/modules/html/CMakeLists.txt

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,30 @@
1-
cmake_minimum_required (VERSION 3.16)
2-
project (html)
1+
cmake_minimum_required(VERSION 3.16)
2+
project(html)
33

44
set(SOURCES
5-
producer/html_cg_proxy.cpp
6-
producer/html_producer.cpp
5+
producer/html_cg_proxy.cpp
6+
producer/html_cg_proxy.h
77

8-
html.cpp
9-
)
10-
set(HEADERS
11-
producer/html_cg_proxy.h
12-
producer/html_producer.h
8+
producer/html_producer.cpp
9+
producer/html_producer.h
1310

14-
html.h
11+
html.cpp
12+
html.h
1513
)
1614

17-
casparcg_add_module_project(html
18-
SOURCES ${SOURCES} ${HEADERS}
19-
INIT_FUNCTION "html::init"
20-
UNINIT_FUNCTION "html::uninit"
21-
CLI_INTERCEPTOR "html::intercept_command_line"
15+
casparcg_add_module_project(html SOURCES ${SOURCES}
16+
INIT_FUNCTION "html::init"
17+
UNINIT_FUNCTION "html::uninit"
18+
CLI_INTERCEPTOR "html::intercept_command_line"
2219
)
20+
target_link_libraries(html CEF::CEF)
2321

22+
# TODO: remove when appropriate
2423
target_include_directories(html PRIVATE
2524
..
2625
../..
2726
)
2827

29-
target_link_libraries(html CEF::CEF)
30-
3128
set_target_properties(html PROPERTIES FOLDER modules)
3229
source_group(sources\\producer producer/*)
3330
source_group(sources ./*)

0 commit comments

Comments
 (0)