*.pc.in: rename lib_prefix to webp_libname_prefix

this will help avoid any future conflicts with the more generic autoconf
type name

Change-Id: I0311e03a11a541118025c7dbe8309365f6efa847
This commit is contained in:
James Zern
2022-10-24 16:44:42 -07:00
parent c42e6d5a89
commit 28aedcb9b0
7 changed files with 11 additions and 11 deletions

View File

@ -134,10 +134,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)