aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/windows/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/platform/windows/CMakeLists.txt b/src/platform/windows/CMakeLists.txt
index 251011cf..d6607a64 100644
--- a/src/platform/windows/CMakeLists.txt
+++ b/src/platform/windows/CMakeLists.txt
@@ -9,11 +9,13 @@
# Windows.
-nng_sources_if(NNG_PLATFORM_WINDOWS
+# We cannot use nng_sources_if because these tests don't go into
+# the static library unless they also go into the dynamic.
+if (NNG_PLATFORM_WINDOWS)
+nng_sources(
win_impl.h
win_ipc.h
win_tcp.h
-
win_clock.c
win_debug.c
win_file.c
@@ -32,3 +34,4 @@ nng_sources_if(NNG_PLATFORM_WINDOWS
win_thread.c
win_udp.c
)
+endif() \ No newline at end of file