Skip to content

Commit fadd904

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

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ <h1 class="title">Index</h1>
874874
<div class="twelve-columns footer">
875875
<span class="nim-sprite"></span>
876876
<br>
877-
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 02:50:53 UTC</small>
877+
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 22:23:24 UTC</small>
878878
</div>
879879
</div>
880880
</div>

docs/theindex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ <h1 class="title">Index</h1>
874874
<div class="twelve-columns footer">
875875
<span class="nim-sprite"></span>
876876
<br>
877-
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 02:50:53 UTC</small>
877+
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 22:23:24 UTC</small>
878878
</div>
879879
</div>
880880
</div>

docs/webui.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2004,7 +2004,7 @@ <h1><a class="toc-backref" href="#19">Exports</a></h1>
20042004
<div class="twelve-columns footer">
20052005
<span class="nim-sprite"></span>
20062006
<br>
2007-
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 02:50:53 UTC</small>
2007+
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 22:23:24 UTC</small>
20082008
</div>
20092009
</div>
20102010
</div>

docs/webui/bindings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@ <h1><a class="toc-backref" href="#12">Procs</a></h1>
27202720
<div class="twelve-columns footer">
27212721
<span class="nim-sprite"></span>
27222722
<br>
2723-
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 02:50:53 UTC</small>
2723+
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-10 22:23:24 UTC</small>
27242724
</div>
27252725
</div>
27262726
</div>

webui/bindings_prefix.nim

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ else:
100100
when defined(macos) or defined(macosx):
101101
{.passL: "-framework Cocoa -framework WebKit".}
102102
{.passC: "-I" & currentSourceDir / "webui/src/webview".}
103-
103+
104104
{.compile: currentSourceDir / "webui/src/webview/wkwebview.m".}
105105

106106
# fix for cpp
@@ -110,8 +110,10 @@ else:
110110
{.passC: "-DNDEBUG -DNO_CACHING -DNO_CGI -DUSE_WEBSOCKET".}
111111
{.compile: currentSourceDir / "webui/src/civetweb/civetweb.c".}
112112
{.compile: currentSourceDir / "webui/src/webui.c".}
113-
{.compile: currentSourceDir / "webui/src/webview/win32_wv2.cpp".}
114-
{.passL: "-lole32 -luuid".} # for win32_wv2
113+
114+
when defined(windows):
115+
{.compile: currentSourceDir / "webui/src/webview/win32_wv2.cpp".}
116+
{.passL: "-lole32 -luuid".} # for win32_wv2
115117

116118
{.pragma: webui, cdecl.}
117119

0 commit comments

Comments
 (0)