summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevpobr <evpobr@gmail.com>2020-04-08 10:24:39 +0500
committerRalph Giles <giles@thaumas.net>2020-04-08 16:28:40 -0700
commit1ffc217cb77636d1a06939638d14c583e1e89525 (patch)
tree04cfbb6b8b36b113ff7f8145b27c79ac71724cd1
parent7fd53df538b9c994d9bc95d1dc6aa43e454aa118 (diff)
downloadlibvorbis-git-1ffc217cb77636d1a06939638d14c583e1e89525.tar.gz
Export public function on MinGW platform
MinGW produces DLLs, but exports nothing.
-rw-r--r--lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index d198105b..7e8ca456 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -61,7 +61,7 @@ if(WIN32)
list(APPEND VORBIS_SOURCES vorbisenc.c)
endif()
-if(MSVC)
+if(WIN32)
list(APPEND VORBIS_SOURCES ../win32/vorbis.def)
list(APPEND VORBISENC_SOURCES ../win32/vorbisenc.def)
list(APPEND VORBISFILE_SOURCES ../win32/vorbisfile.def)