diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-11-12 21:39:44 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-11-12 21:39:44 -0800 |
| commit | 6545ba68696e5a09f0b36f2ea5b60a83b0f88b8b (patch) | |
| tree | ab15e005736d8154dc244443e8f88c86fff701a4 /src/platform/windows | |
| parent | c62490b0573a9f12f917bb04212f6ecb0d1cdccb (diff) | |
| download | nng-6545ba68696e5a09f0b36f2ea5b60a83b0f88b8b.tar.gz nng-6545ba68696e5a09f0b36f2ea5b60a83b0f88b8b.tar.bz2 nng-6545ba68696e5a09f0b36f2ea5b60a83b0f88b8b.zip | |
Fix build regression on non-Windows platform (sorry!)
Diffstat (limited to 'src/platform/windows')
| -rw-r--r-- | src/platform/windows/CMakeLists.txt | 7 |
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 |
