Merge "*.pc.in: rename lib_prefix to webp_libname_prefix" into main

This commit is contained in:
James Zern
2022-10-26 19:57:24 +00:00
committed by Gerrit Code Review
7 changed files with 11 additions and 11 deletions

View File

@@ -135,10 +135,10 @@ set(INSTALLED_LIBRARIES)
if(MSVC)
# match the naming convention used by nmake
set(lib_prefix "lib")
set(CMAKE_SHARED_LIBRARY_PREFIX "${lib_prefix}")
set(CMAKE_IMPORT_LIBRARY_PREFIX "${lib_prefix}")
set(CMAKE_STATIC_LIBRARY_PREFIX "${lib_prefix}")
set(webp_libname_prefix "lib")
set(CMAKE_SHARED_LIBRARY_PREFIX "${webp_libname_prefix}")
set(CMAKE_IMPORT_LIBRARY_PREFIX "${webp_libname_prefix}")
set(CMAKE_STATIC_LIBRARY_PREFIX "${webp_libname_prefix}")
endif()
set(CMAKE_C_VISIBILITY_PRESET hidden)