Skip to content

Commit 4872869

Browse files
committed
Add deps that Rust reports it needs
1 parent c60c1ce commit 4872869

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

CMakeLists.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,18 @@ target_include_directories(primewatch2 PRIVATE include)
140140
target_compile_definitions(primewatch2 PRIVATE -DIMGUI_IMPL_OPENGL_LOADER_GLAD)
141141

142142
if (WIN32)
143+
# courtesy the output of rustc.
143144
target_link_libraries(primewatch2
144-
ws2_32
145-
userenv
145+
kernel32
146146
advapi32
147147
bcrypt
148+
# kernel32
149+
ntdll
150+
userenv
151+
ws2_32
152+
# kernel32
153+
# ws2_32
154+
# kernel32
155+
msvcrt
148156
)
149157
endif ()

0 commit comments

Comments
 (0)