Re: How to change the dynamic library project name ogg to libogg?
Ozkan Sezer <[email protected]> Wed, 7 Jun 2023 15:03:12 +0300
| Newsgroups | gmane.comp.audio.compression.flac.devel |
|---|---|
| Message-ID | <CAA2C=vA=Lnzst1EQosr9LB2bAxsL+pkcTXLSA+RaYd7d5yxv7A@mail.gmail.com> |
On 6/7/23, Martijn van Beurden <[email protected]> wrote: > I've added the following to Windows-MSVC.cmake, which I copied from > Windows-GNU.cmake > > set(CMAKE_IMPORT_LIBRARY_PREFIX "lib") > set(CMAKE_SHARED_LIBRARY_PREFIX "lib") > set(CMAKE_SHARED_MODULE_PREFIX "lib") > set(CMAKE_STATIC_LIBRARY_PREFIX "lib") > set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") > > When I do that, I still get the same warning: > > libogg.exp : warning LNK4070: /OUT:ogg.dll directive in .EXP differs > from output filename > 'C:\Users\m_van\flac\build\objs\Release\libogg.dll'; ignoring > directive > > So, apparently either CMake or MSVC is forgetting to rename something, > somewhere. Does this help at all? https://github.com/xiph/ogg/pull/72 (Vorbis equivalent: https://github.com/xiph/vorbis/pull/76)