Skip to content

Commit ca4d202

Browse files
committed
fix missing cpp on windows
1 parent dcdcf33 commit ca4d202

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

webui/bindings_prefix.nim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,10 @@ else:
108108
{.passL: "-static".}
109109

110110
{.passC: "-DNDEBUG -DNO_CACHING -DNO_CGI -DUSE_WEBSOCKET".}
111-
112111
{.compile: currentSourceDir / "webui/src/civetweb/civetweb.c".}
113112
{.compile: currentSourceDir / "webui/src/webui.c".}
113+
{.compile: currentSourceDir / "webui/src/webview/win32_wv2.cpp".}
114+
{.passL: "-lole32 -luuid".} # for win32_wv2
114115

115116
{.pragma: webui, cdecl.}
116117

@@ -340,7 +341,7 @@ macro renameEnumFields(enumdef : untyped): untyped =
340341
else:
341342
raise newException(Exception, "generateDeprecatedEnumConst macro can only be used on enum type definitions")
342343

343-
# echo "\n\n" & "=".repeat(50)
344+
# echo "/n/n" & "=".repeat(50)
344345
# echo "[WebUI] Renaming Enum Definition:"
345346
# echo "# Original Enum Def:"
346347
# echo "=".repeat(50)

0 commit comments

Comments
 (0)