Displaying 3 results from an estimated 3 matches for "cmake_find_library_prefixes".
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
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...
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
...ing 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, appa...
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
On 06/06/23 02:33 AM, m b wrote:
> Hi,
>
> I use CMake to generate FLAC dynamic link library projects for Visual
> Studio, in the CMake user interface window, the "BUILD_SHARED_LIBS" is
> enabled. The CMake generates the FLAC and ogg dynamic library projects.
> The Visual Studio builds the FLAC.dll and ogg.dll, and the FLAC.dll
> depends on ogg.dll.
>
>