From 1ffc217cb77636d1a06939638d14c583e1e89525 Mon Sep 17 00:00:00 2001 From: evpobr Date: Wed, 8 Apr 2020 10:24:39 +0500 Subject: Export public function on MinGW platform MinGW produces DLLs, but exports nothing. --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1