Skip to content

Commit f607fc1

Browse files
ilya-fedinjohn-preston
authored andcommitted
Add missing Windows system dependencies
1 parent 7b2eb3c commit f607fc1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,18 @@ if (TG_OWT_USE_X11)
168168
link_x11(tg_owt)
169169
endif()
170170

171+
if (WIN32)
172+
target_link_libraries(tg_owt
173+
PRIVATE
174+
d3d11
175+
dwmapi
176+
dxgi
177+
iphlpapi
178+
shcore
179+
winmm
180+
)
181+
endif()
182+
171183
function(add_sublibrary postfix)
172184
add_library(tg_owt_${postfix} OBJECT)
173185
init_feature_target(tg_owt_${postfix} ${postfix})

0 commit comments

Comments
 (0)